Skip to content

Instantly share code, notes, and snippets.

@ebhoren
Last active December 11, 2015 06:29
Show Gist options
  • Save ebhoren/4559895 to your computer and use it in GitHub Desktop.
Save ebhoren/4559895 to your computer and use it in GitHub Desktop.
/*global module:false*/
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
concat: {
scripts: {
src: [
'src/js/modules/nav.js',
'src/js/modules/footer.js'
],
dest: 'dist/js/application.js'
}
},
min: {
scripts: {
src: ['dist/js/application.js'],
dest: 'dist/js/application.min.js'
}
},
mincss: {
compress: {
files: {
'dist/css/style.min.css': ['src/css/style.css']
}
}
}
});
// Load modules
grunt.loadNpmTasks('grunt-contrib-mincss');
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment