docs: Fix webpack example (#2110)
This commit is contained in:
parent
23ebe2f483
commit
02f2732706
1 changed files with 1 additions and 1 deletions
|
|
@ -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'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue