mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
add bundle:css to websrc/package.json to bundle css without installing gulp globally
This commit is contained in:
parent
c216103520
commit
767a6dd976
@ -1 +1 @@
|
||||
Subproject commit a04d4769974b9d93ba72e490ed7dca3fbaed768c
|
||||
Subproject commit 21d4a0a5e9a19f251e26c0ae07ce74be2fa99bbf
|
||||
@ -6,6 +6,7 @@
|
||||
"scripts": {
|
||||
"watch:js": "watchify ./src/js/app.js -t [ babelify --presets [ @babel/preset-env ] ] -o ../webroot/js/app.js -v",
|
||||
"watch:css": "gulp watchStyles",
|
||||
"bundle:css": "gulp bundleStyles",
|
||||
"prebuild": "browserify ./src/js/app.js -t [ babelify --presets [ @babel/preset-env ] ] -o ./public/app.rl.js -v",
|
||||
"build": "gulp compressStyles && browserify ./public/app.rl.js -g uglifyify -p bundle-collapser/plugin | uglifyjs --compress --mangle toplevel,eval > ../webroot/js/app.min.js"
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user