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 a31a96e commit 97288adCopy full SHA for 97288ad
lib/plugins/hmr.js
@@ -23,10 +23,7 @@ const init = function init(compiler, log) {
23
const webpackMajorVersion = getMajorVersion(version);
24
// eslint-disable-next-line no-param-reassign
25
compiler.options.output = Object.assign(compiler.options.output, {
26
- hotUpdateChunkFilename:
27
- webpackMajorVersion >= 5
28
- ? `[runtime]-${compiler.wpsId}-[id]-wps-hmr.js`
29
- : `${compiler.wpsId}-[id]-wps-hmr.js`,
+ hotUpdateChunkFilename: `${compiler.wpsId}-[id]-wps-hmr.js`,
30
hotUpdateMainFilename:
31
webpackMajorVersion >= 5
32
? `[runtime]-${compiler.wpsId}-wps-hmr.json`
0 commit comments