From bb6931fe83d91df771b29c5bd0bd11fff7773294 Mon Sep 17 00:00:00 2001 From: Matteo Pagliazzi Date: Wed, 12 Feb 2014 18:08:17 +0100 Subject: [PATCH] refactor(grunt): cache gifs --- Gruntfile.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Gruntfile.js b/Gruntfile.js index 9186a9e800..05979dbbe5 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -57,6 +57,8 @@ module.exports = function(grunt) { files: [ {expand: true, cwd: 'public/', src: 'favicon.ico', dest: 'build/'}, {expand: true, cwd: 'public/', src: 'bower_components/habitrpg-shared/dist/spritesmith.png', dest: 'build/'}, + {expand: true, cwd: 'public/', src: 'bower_components/habitrpg-shared/img/sprites/backer-only/*.gif', dest: 'build/'}, + {expand: true, cwd: 'public/', src: 'bower_components/habitrpg-shared/img/sprites/npc_ian.gif', dest: 'build/'}, {expand: true, cwd: 'public/', src: 'bower_components/bootstrap/dist/fonts/*', dest: 'build/'} ] } @@ -71,6 +73,8 @@ module.exports = function(grunt) { src: [ 'build/*.js', 'build/*.css', 'build/favicon.ico', 'build/bower_components/habitrpg-shared/dist/*.png', + 'build/bower_components/habitrpg-shared/img/sprites/backer-only/*.gif', + 'build/bower_components/habitrpg-shared/img/sprites/npc_ian.gif', 'build/bower_components/bootstrap/dist/fonts/*' ], dest: 'build/*.css'