Skip to content

Commit bec01c3

Browse files
committed
Updated example configs
1 parent 87dfee8 commit bec01c3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/code-splitting/assets/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module.exports = {
2525
module: {
2626
loaders: [
2727
// we pass the output from babel loader to react-hot loader
28-
{ test: /\.jsx?$/, exclude: /node_modules/, loaders: ['react-hot', 'babel'], },
28+
{ test: /\.jsx?$/, exclude: /node_modules/, loaders: ['babel'], },
2929
],
3030
},
3131

examples/simple/assets/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = {
1818
module: {
1919
loaders: [
2020
// we pass the output from babel loader to react-hot loader
21-
{ test: /\.jsx?$/, exclude: /node_modules/, loaders: ['react-hot', 'babel'], },
21+
{ test: /\.jsx?$/, exclude: /node_modules/, loaders: ['babel'], },
2222
],
2323
},
2424

0 commit comments

Comments
 (0)