1
0
Fork 0
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:
Henrik Hautakoski 2019-11-20 18:08:49 +01:00
parent 6c9bd003dd
commit db291a87df
5 changed files with 83 additions and 53 deletions

8
_scripts/build.sh Executable file
View 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