Last active
November 19, 2015 14:33
-
-
Save Andyccs/6610f8c60981e37d3595 to your computer and use it in GitHub Desktop.
Medium Post
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) { | |
// Project configuration. | |
grunt.initConfig({ | |
"babel": { | |
options: { | |
sourceMap: true | |
}, | |
dist: { | |
files: { | |
"dist/app.js": "src/app.js", | |
"dist/rectangle.js": "src/rectangle.js" | |
} | |
} | |
} | |
}); | |
// Load the plugin that provides the "uglify" task. | |
grunt.loadNpmTasks('grunt-babel'); | |
// Default task(s). | |
grunt.registerTask('default', ['babel']); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment