mirror of
https://github.com/eosswedenorg/apt
synced 2026-06-18 04:50:03 +02:00
Adding npm and build script with uglifyjs
This commit is contained in:
parent
6c9bd003dd
commit
db291a87df
5 changed files with 83 additions and 53 deletions
8
_scripts/build.sh
Executable file
8
_scripts/build.sh
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
UGLIFYJS=node_modules/uglify-js/bin/uglifyjs
|
||||
|
||||
SRC=_scripts/app.js
|
||||
TARGET=assets/scripts.js
|
||||
|
||||
$UGLIFYJS $SRC -c -m > $TARGET
|
||||
Loading…
Add table
Add a link
Reference in a new issue