diff options
| author | XhmikosR <[email protected]> | 2019-03-01 18:40:39 +0200 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2019-03-11 17:59:08 +0200 |
| commit | faba7e3f642bc3488ff82ffb98f7940fbec49f04 (patch) | |
| tree | 27f0d5c0fb37eade07f6f2e327b346d03518cb55 /package.json | |
| parent | 2fd50f98a53874d89aa60c9a698464ce1a0b7bfc (diff) | |
| download | bootstrap-faba7e3f642bc3488ff82ffb98f7940fbec49f04.tar.xz bootstrap-faba7e3f642bc3488ff82ffb98f7940fbec49f04.zip | |
package.json: tweak js scripts.
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json index 1f0fa2ca1..d6543ffef 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "js-docs": "npm-run-all js-lint-docs js-minify-docs", "js-compile": "npm-run-all --parallel js-compile-* --sequential js-copy", "js-compile-standalone": "rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap", - "js-compile-standalone-esm": "cross-env ESM=true rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap", + "js-compile-standalone-esm": "rollup --environment ESM:true,BUNDLE:false --config build/rollup.config.js --sourcemap", "js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap", "js-compile-plugins": "node build/build-plugins.js", "js-compile-plugins-coverage": "cross-env NODE_ENV=test node build/build-plugins.js", @@ -52,7 +52,7 @@ "js-lint-main": "eslint --cache --cache-location .cache/.eslintcache js/src js/tests build/", "js-lint-docs": "eslint --cache --cache-location .cache/.eslintcache site/", "js-minify": "npm-run-all --parallel js-minify-main js-minify-docs", - "js-minify-main": "npm-run-all js-minify-standalone js-minify-bundle", + "js-minify-main": "npm-run-all js-minify-standalone* js-minify-bundle", "js-minify-standalone": "terser --compress --mangle --comments \"/^!/\" --source-map \"content=dist/js/bootstrap.js.map,includeSources,url=bootstrap.min.js.map\" --output dist/js/bootstrap.min.js dist/js/bootstrap.js", "js-minify-standalone-esm": "terser --compress --mangle --comments \"/^!/\" --source-map \"content=dist/js/bootstrap.esm.js.map,includeSources,url=bootstrap.esm.min.js.map\" --output dist/js/bootstrap.esm.min.js dist/js/bootstrap.esm.js", "js-minify-bundle": "terser --compress --mangle --comments \"/^!/\" --source-map \"content=dist/js/bootstrap.bundle.js.map,includeSources,url=bootstrap.bundle.min.js.map\" --output dist/js/bootstrap.bundle.min.js dist/js/bootstrap.bundle.js", |
