We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33d8ecb commit 0f13fc4Copy full SHA for 0f13fc4
webpack.config.js
@@ -16,4 +16,8 @@ webpackConfig.module.loaders[0] = {
16
]
17
}
18
19
+if (process.argv[1].indexOf('webpack-dev-server') !== -1) {
20
+ webpackConfig.module.loaders[0].loaders.unshift('react-hot')
21
+}
22
+
23
module.exports = webpackConfig;
0 commit comments