aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorManuel Hiebel <leuhmanu@mageia.org>2021-02-12 18:27:04 +0100
committerManuel Hiebel <leuhmanu@mageia.org>2021-02-12 18:27:04 +0100
commitb65a9e25538276343a70897fe47f93b99d69624a (patch)
treef237ee7ef4592746d11f110803f6ea941b498e86 /lib
parent5761cd83504f087eb686a93cf42a53d28c674dea (diff)
downloadnav-b65a9e25538276343a70897fe47f93b99d69624a.tar
nav-b65a9e25538276343a70897fe47f93b99d69624a.tar.gz
nav-b65a9e25538276343a70897fe47f93b99d69624a.tar.bz2
nav-b65a9e25538276343a70897fe47f93b99d69624a.tar.xz
nav-b65a9e25538276343a70897fe47f93b99d69624a.zip
Add utils.js (needed by collapse) to bootstrap.min.js
Diffstat (limited to 'lib')
-rw-r--r--lib/buildcss/package.json4
-rw-r--r--lib/buildcss/readme.txt4
2 files changed, 4 insertions, 4 deletions
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: