We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94440af commit 6365d0fCopy full SHA for 6365d0f
1 file changed
webpack/strategies/docs-development.js
@@ -17,7 +17,7 @@ export default (config, options) => {
17
}),
18
module: _.extend({}, config.module, {
19
loaders: config.module.loaders.map(value => {
20
- if (/js/.test(value.test.toString())) {
+ if (/\.js\/$/.test(value.test.toString())) {
21
return _.extend({}, value, {
22
loader: 'react-hot!' + value.loader
23
});
0 commit comments