Update build process to compress assets

This commit is contained in:
Andrew Miner
2016-04-03 21:59:04 -07:00
parent c5012e8b5b
commit 74836a7584
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ module.exports = (grunt)->
options:
mode: 'gzip'
files: [
{expand: true, cwd:'./build/static', src:'**/*.cg', dest:'./dist/'}
{expand: true, cwd:'./data', src:'**/*.cg', dest:'./dist/'}
]
copy:
+3
View File
@@ -31,6 +31,9 @@
"crafting-guide": "^1.0.2",
"crafting-guide-common": "^1.3.0",
"grunt": "^0.4.5",
"grunt-contrib-clean": "^1.0.0",
"grunt-contrib-compress": "^1.2.0",
"grunt-contrib-copy": "^1.0.0",
"grunt-contrib-watch": "^0.6.1",
"grunt-mocha-test": "^0.12.7",
"mocha": "^2.2.4",