From b65a9e25538276343a70897fe47f93b99d69624a Mon Sep 17 00:00:00 2001 From: Manuel Hiebel Date: Fri, 12 Feb 2021 18:27:04 +0100 Subject: Add utils.js (needed by collapse) to bootstrap.min.js --- lib/buildcss/package.json | 4 ++-- lib/buildcss/readme.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/buildcss/package.json b/lib/buildcss/package.json index ea498b0..79fa81e 100644 --- a/lib/buildcss/package.json +++ b/lib/buildcss/package.json @@ -22,8 +22,8 @@ "scripts": { "start": "npm-run-all --parallel watch docs-serve", "bundlewatch": "bundlewatch --config .bundlewatch.config.json", - "mga": "npm-run-all --parallel css js mga-*", - "mga-js": "terser js/dist/collapse.js --compress typeofs=false --mangle --output mga/bootstrap.min.js", + "mga": "npm-run-all css js mga-*", + "mga-js": "terser js/dist/util.js js/dist/collapse.js --compress typeofs=false --mangle --output mga/bootstrap.min.js", "mga-css": "cleancss -O1 --format breakWith=lf --output mga/bootstrap.min.css dist/css/mga-bootstrap.css", "css": "npm-run-all css-compile css-prefix css-minify", "css-compile": "node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/ -o dist/css/", diff --git a/lib/buildcss/readme.txt b/lib/buildcss/readme.txt index dd3466a..fab5366 100644 --- a/lib/buildcss/readme.txt +++ b/lib/buildcss/readme.txt @@ -18,8 +18,8 @@ npm install add mga-bootstrap.scss in scss/ Add on package.json: - "mga": "npm-run-all --parallel css js mga-*", - "mga-js": "terser js/dist/collapse.js --compress typeofs=false --mangle --output mga/bootstrap.min.js", + "mga": "npm-run-all css js mga-*", + "mga-js": "terser js/dist/util.js js/dist/collapse.js --compress typeofs=false --mangle --output mga/bootstrap.min.js", "mga-css": "cleancss -O1 --format breakWith=lf --output mga/bootstrap.min.css dist/css/mga-bootstrap.css", run everything: -- cgit v1.2.1