Merge pull request #484 from allforabit/patch-1

Update webpack file template for latest version
This commit is contained in:
Henrik Lissner 2018-03-26 18:10:43 -04:00 committed by GitHub
commit 486dbbc2cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,9 +7,15 @@ module.exports = {
filename: "app.bundle.js"
},
module: {
loaders: [
{ test: /\.js$/, include: __dirname + '/app', loader: 'babel-loader' }$0
rules: [
{
test: /\.js$/,
exclude: /node_modules/,
use: {
loader: "babel-loader"
}
}
]
}
},
// plugins: []
};
};