Skip to content

Commit 34d4b69

Browse files
committed
ReactDOM to vendors
1 parent efbf088 commit 34d4b69

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

webpack.config.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module.exports = {
1313
'index', 'pages/Home'
1414
],
1515
vendor: [
16-
'react'
16+
'react', 'react-dom'
1717
]
1818
},
1919
output: {
@@ -37,7 +37,6 @@ module.exports = {
3737
test: /\.(js|jsx)$/,
3838
exclude: /node_modules/,
3939
loaders: [
40-
// 'react-hot',
4140
{
4241
loader: 'babel',
4342
query: {
@@ -87,7 +86,6 @@ module.exports = {
8786
],
8887
devServer: {
8988
contentBase: './client',
90-
noInfo: true,
91-
// hot: true
89+
noInfo: true
9290
}
9391
};

0 commit comments

Comments
 (0)