Skip to content

Instantly share code, notes, and snippets.

@sra448
Created August 19, 2013 15:38
Show Gist options
  • Save sra448/6270521 to your computer and use it in GitHub Desktop.
Save sra448/6270521 to your computer and use it in GitHub Desktop.
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
coffee: {
compileWithMaps: {
expand: true,
src: ["src/*.coffee"],
dest: "js/",
ext: ".js",
options: {
sourceMap: true
}
}
}
});
// Load the plugin that provides the "uglify" task.
grunt.loadNpmTasks('grunt-contrib-coffee');
// Default task(s).
grunt.registerTask('default', ['coffee']);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment