Skip to content

Instantly share code, notes, and snippets.

@Andyccs
Last active November 19, 2015 14:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Andyccs/6610f8c60981e37d3595 to your computer and use it in GitHub Desktop.
Save Andyccs/6610f8c60981e37d3595 to your computer and use it in GitHub Desktop.
Medium Post
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