Skip to content

Commit 551e862

Browse files
authored
Include derby-webpack browser shim automatically for every entry point (#23)
1 parent c8b31b7 commit 551e862

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

createConfig.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,12 @@ module.exports = function createConfig(apps, rootDir, opts = {}) {
1919
...acc,
2020
[name]: options.hotModuleReplacement ? [
2121
'webpack-hot-middleware/client',
22+
'@derbyjs/derby-webpack/lib/browser',
2223
path,
23-
] : [ path ],
24+
] : [
25+
'@derbyjs/derby-webpack/lib/browser',
26+
path,
27+
],
2428
}), {}),
2529
node: {
2630
__dirname: true,

0 commit comments

Comments
 (0)