Skip to content

Commit 26c5129

Browse files
committed
Merge pull request react-bootstrap#675 from AlexKVal/toolsRegex
Fix regexp to test regexps in tools.
2 parents db4ee03 + 6365d0f commit 26c5129

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

webpack/strategies/docs-development.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default (config, options) => {
1717
}),
1818
module: _.extend({}, config.module, {
1919
loaders: config.module.loaders.map(value => {
20-
if (/js/.test(value.test.toString())) {
20+
if (/\.js\/$/.test(value.test.toString())) {
2121
return _.extend({}, value, {
2222
loader: 'react-hot!' + value.loader
2323
});

0 commit comments

Comments
 (0)