Update build process to compress assets
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ module.exports = (grunt)->
|
|||||||
options:
|
options:
|
||||||
mode: 'gzip'
|
mode: 'gzip'
|
||||||
files: [
|
files: [
|
||||||
{expand: true, cwd:'./build/static', src:'**/*.cg', dest:'./dist/'}
|
{expand: true, cwd:'./data', src:'**/*.cg', dest:'./dist/'}
|
||||||
]
|
]
|
||||||
|
|
||||||
copy:
|
copy:
|
||||||
|
|||||||
@@ -31,6 +31,9 @@
|
|||||||
"crafting-guide": "^1.0.2",
|
"crafting-guide": "^1.0.2",
|
||||||
"crafting-guide-common": "^1.3.0",
|
"crafting-guide-common": "^1.3.0",
|
||||||
"grunt": "^0.4.5",
|
"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-contrib-watch": "^0.6.1",
|
||||||
"grunt-mocha-test": "^0.12.7",
|
"grunt-mocha-test": "^0.12.7",
|
||||||
"mocha": "^2.2.4",
|
"mocha": "^2.2.4",
|
||||||
|
|||||||
Reference in New Issue
Block a user