From 74836a7584060b66ccc41307b9ac70fda7318db1 Mon Sep 17 00:00:00 2001 From: Andrew Miner Date: Sun, 3 Apr 2016 21:59:04 -0700 Subject: [PATCH] Update build process to compress assets --- Gruntfile.coffee | 2 +- package.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Gruntfile.coffee b/Gruntfile.coffee index afe306b2..c3ffe333 100644 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -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: diff --git a/package.json b/package.json index eb646143..0fed9f06 100644 --- a/package.json +++ b/package.json @@ -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",