Minimizes app.bundle.js by default.
This commit is contained in:
parent
b1825a3d1e
commit
5b1f7b1204
|
@ -4,4 +4,4 @@ node_modules
|
|||
*.iml
|
||||
.*.tmp
|
||||
deploy-local.sh
|
||||
libs/app.bundle.js
|
||||
libs/app.bundle.*
|
||||
|
|
2
Makefile
2
Makefile
|
@ -4,7 +4,7 @@ GLOBAL_FLAGS = -x jquery -e
|
|||
OUTPUT_DIR = .
|
||||
DEPLOY_DIR = libs
|
||||
|
||||
all: compile deploy clean
|
||||
all: compile deploy clean uglify
|
||||
|
||||
compile:FLAGS = $(GLOBAL_FLAGS)
|
||||
compile: app
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<script src="libs/popover.js?v=1"></script><!-- bootstrap tooltip lib -->
|
||||
<script src="libs/toastr.js?v=1"></script><!-- notifications lib -->
|
||||
<script src="interface_config.js?v=6"></script>
|
||||
<script src="libs/app.bundle.js?v=138"></script>
|
||||
<script src="libs/app.bundle.min.js?v=138"></script>
|
||||
<script src="analytics.js?v=1"></script><!-- google analytics plugin -->
|
||||
<link rel="stylesheet" href="css/font.css?v=7"/>
|
||||
<link rel="stylesheet" href="css/toastr.css?v=1">
|
||||
|
|
|
@ -28,7 +28,8 @@
|
|||
"socket.io-client": "1.3.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"precommit-hook": "3.0.0"
|
||||
"precommit-hook": "3.0.0",
|
||||
"uglify-js": "2.4.24"
|
||||
},
|
||||
"license": "Apache-2.0",
|
||||
"scripts": {
|
||||
|
|
Loading…
Reference in New Issue