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 50ab2f0 commit 690df60Copy full SHA for 690df60
lib/util/addDevServerEntrypoints.js
@@ -16,6 +16,8 @@ module.exports = function addDevServerEntrypoints(webpackOptions, devServerOptio
16
Object.keys(wpOpt.entry).forEach(function(key) {
17
wpOpt.entry[key] = devClient.concat(wpOpt.entry[key]);
18
});
19
+ } else if(typeof wpOpt.entry === "function") {
20
+ wpOpt.entry = wpOpt.entry(devClient);
21
} else {
22
wpOpt.entry = devClient.concat(wpOpt.entry);
23
}
0 commit comments