Fixed Beta Tester Uglification
PNPM does not run "pre" and "post" scripts for user-defined scripts. This commit removed the "preuglify" script from the beta tester plugin so that it builds correctly.
This commit is contained in:
parent
245dd98b45
commit
dc6bd75984
|
@ -27,8 +27,7 @@
|
|||
"build": "pnpm run uglify",
|
||||
"build:zip": "./bin/build-zip.sh",
|
||||
"build:dev": "pnpm run lint:js && pnpm run uglify",
|
||||
"preuglify": "rm -f $npm_package_assets_js_min",
|
||||
"uglify": "for f in $npm_package_assets_js_js; do file=${f%.js}; node_modules/.bin/uglifyjs $f -c -m > $file.min.js; done",
|
||||
"uglify": "rm -f $npm_package_assets_js_min && for f in $npm_package_assets_js_js; do file=${f%.js}; node_modules/.bin/uglifyjs $f -c -m > $file.min.js; done",
|
||||
"lint": "eslint assets/js --ext=js",
|
||||
"lint:fix": "eslint assets/js --ext=js --fix"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue