Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
gulp.task('build:javascripts', function(cb) {
entry: __dirname + '/app/frontend/javascripts/gifts.js',
output: {
path: __dirname + '/app/assets/javascripts',
filename: 'gifts.js'
devtool: "#source-map",
module: {
loaders: [
test: /\.js$/,
exlude: /node_modules/,
loader: 'babel-loader'
}, function(err, stats) {
if(err) {
throw new gutil.Plugin("webpack", err);
gutil.log("[webpack]", stats.toString());

This comment has been minimized.

Copy link
Owner Author

@madpilot madpilot commented Dec 2, 2015


"presets": ["es2015", "react"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment