mirror of
https://github.com/eosswedenorg/apt
synced 2026-06-17 04:40:03 +02:00
npm: use webpack instead of upglify-js.
This commit is contained in:
parent
350e7d638c
commit
6ec642b039
5 changed files with 2291 additions and 28 deletions
|
|
@ -1,9 +1,2 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
UGLIFYJS=node_modules/uglify-js/bin/uglifyjs
|
||||
|
||||
SRC=_scripts/app.js
|
||||
TARGET=assets/scripts.js
|
||||
|
||||
echo "UglifyJS: $SRC -> $TARGET"
|
||||
$UGLIFYJS $SRC -c -m > $TARGET
|
||||
npx webpack
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue