Last active
August 29, 2015 14:01
-
-
Save skaraman/b7e64f8a4153d3fe95b3 to your computer and use it in GitHub Desktop.
Gruntfile.js -skaraman
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*global module:false*/ | |
/*Generated initially from grunt-init, heavily inspired by yo webapp*/ | |
module.exports = function(grunt) { | |
'use strict'; | |
// Time how long tasks take. Can help when optimizing build times | |
require('time-grunt')(grunt); | |
// Load grunt config | |
require('load-grunt-config')(grunt, { | |
init: true, | |
data: { | |
config: { | |
// Configurable paths | |
app: 'app', | |
dist: 'dist' | |
}, | |
copy: { | |
dist: { | |
files: [{ | |
expand: true, | |
dot: true, | |
cwd: '<%= config.app %>', | |
dest: '<%= config.dist %>', | |
src: [ | |
'**/**.{ico,png,txt,jpg}', | |
'.htaccess', | |
'images/{,*/}*.webp', | |
// '{,*/}*.html', | |
'styles/fonts/{,*/}*.*', | |
'lib/famous/**/**.css' | |
] | |
}] | |
} | |
} | |
} | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment