diff options
| author | XhmikosR <[email protected]> | 2020-03-09 14:53:13 +0200 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2020-03-18 20:59:27 +0200 |
| commit | 5017f6b6206e5054b508632555e66463a98f9fb8 (patch) | |
| tree | eb89c899ffe84f2b8b51e7c2b1675664ef71b1c1 | |
| parent | dffe600b1c0c4199b452eb73211acdf1d9460fd3 (diff) | |
| download | bootstrap-5017f6b6206e5054b508632555e66463a98f9fb8.tar.xz bootstrap-5017f6b6206e5054b508632555e66463a98f9fb8.zip | |
Revert "Revert "remove `--compress typeofs=false` from terser.""
This reverts commit dd75ac6c25f6afb4075c1b9fd320de2e97b246d8.
| -rw-r--r-- | package.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json index e5b59aa00..3b8f9a6a7 100644 --- a/package.json +++ b/package.json @@ -37,9 +37,9 @@ "js-compile-plugins": "node build/build-plugins.js", "js-lint": "eslint --cache --cache-location .cache/.eslintcache --report-unused-disable-directives .", "js-minify": "npm-run-all --parallel js-minify-*", - "js-minify-standalone": "terser --compress typeofs=false --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": "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 typeofs=false --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", + "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", "js-test": "npm-run-all --parallel js-test-karma js-test-integration", "js-debug": "cross-env DEBUG=true karma start js/tests/karma.conf.js", "js-test-karma": "karma start js/tests/karma.conf.js", |
