diff --git a/package.json b/package.json index ec088828d..eeb8f88e1 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "build": "rm -rf lib && npx tsc -b && npm run buildAndCopyWeb && npm run copy-files", "bundle": "npm run build && webpack", "build-web-and-plugin": "npx tsc -b && npm run buildAndCopyWeb && npm run copy-files", - "copy-files": "cp -R src/public lib", + "copy-files": "(cp -R src/public lib || exit 0)", "buildAndCopyWeb": "sh buildAndCopyWeb.sh", "prepublishOnly": "npx tsc && npm run buildAndCopyWeb && npm run copy-files && npm run bundle", "lint": "eslint . --ext .ts,.tsx --fix",