Created
October 21, 2014 13:52
-
-
Save benstr/0be68556bae2a04a5b4f to your computer and use it in GitHub Desktop.
Egghead.io - ECMA6 - traceur compiler and Grunt code
This file contains hidden or 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
module.exports = function(grunt){ | |
grunt.initConfig({ | |
traceur: { | |
options: { | |
experimental:true | |
}, | |
custom: { | |
files:{ | |
'build/app.js': "js/**/*.js" | |
} | |
} | |
}, | |
watch: { | |
files:"js/**/*.js", | |
tasks: "traceur" | |
} | |
}); | |
grunt.loadNpmTasks('grunt-traceur-latest'); | |
grunt.loadNpmTasks('grunt-contrib-watch'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment