Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
fc492edf
Commit
fc492edf
authored
3 years ago
by
XhmikosR
Browse files
Options
Download
Email Patches
Plain Diff
terser: specify 2 passes as it offers slightly better compression
parent
fe73da98
v4-dev-dropdown-hide-method
v4-dev
v4.6.2
v4.6.1
1 merge request
!36532
My v4 dev
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
package.json
+2
-2
package.json
with
2 additions
and
2 deletions
+2
-2
package.json
+
2
-
2
View file @
fc492edf
...
...
@@ -39,8 +39,8 @@
"js-compile-plugins-coverage"
:
"cross-env NODE_ENV=test node build/build-plugins.js"
,
"js-lint"
:
"eslint --cache --cache-location .cache/.eslintcache --report-unused-disable-directives ."
,
"js-minify"
:
"npm-run-all --aggregate-output --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-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-standalone"
:
"terser --compress
passes=2,
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-bundle"
:
"terser --compress
passes=2,
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-test"
:
"npm-run-all --aggregate-output --parallel js-test-karma* --serial js-test-integration"
,
"js-test-karma"
:
"karma start js/tests/karma.conf.js"
,
"js-test-karma-old"
:
"cross-env USE_OLD_JQUERY=true npm run js-test-karma"
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets