docs: Fix webpack example (#2110)

This commit is contained in:
Vasil Rimar 2018-03-28 02:40:11 -04:00 committed by Pat Cavit
parent 23ebe2f483
commit 02f2732706

View file

@ -121,7 +121,7 @@ module.exports = {
filename: 'app.js', filename: 'app.js',
}, },
module: { module: {
loaders: [{ rules: [{
test: /\.js$/, test: /\.js$/,
exclude: /node_modules/, exclude: /node_modules/,
loader: 'babel-loader' loader: 'babel-loader'