Skip to content

Commit

Permalink
Include derby-webpack browser shim automatically for every entry point (
Browse files Browse the repository at this point in the history
  • Loading branch information
craigbeck authored Jun 22, 2023
1 parent c8b31b7 commit 551e862
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion createConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,12 @@ module.exports = function createConfig(apps, rootDir, opts = {}) {
...acc,
[name]: options.hotModuleReplacement ? [
'webpack-hot-middleware/client',
'@derbyjs/derby-webpack/lib/browser',
path,
] : [ path ],
] : [
'@derbyjs/derby-webpack/lib/browser',
path,
],
}), {}),
node: {
__dirname: true,
Expand Down

0 comments on commit 551e862

Please sign in to comment.