Merge pull request #32900 from woocommerce/fix/beta-tester-preuglify
Fix Beta Tester Uglification
This commit is contained in:
commit
89845eeb59
|
@ -0,0 +1,5 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
Comment: This is an infrastructure change.
|
||||
|
||||
|
|
@ -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