mirror of https://github.com/webpack/webpack.git
fix lint
This commit is contained in:
parent
a5e1f30c6b
commit
c5fff759ee
|
|
@ -254,7 +254,7 @@ module.exports = class HotModuleReplacementPlugin {
|
|||
};
|
||||
for (const key of Object.keys(records.chunkHashs)) {
|
||||
let chunkId;
|
||||
if(compiler.options.optimization.namedChunks){
|
||||
if (compiler.options.optimization.namedChunks) {
|
||||
chunkId = key;
|
||||
} else {
|
||||
chunkId = isNaN(+key) ? key : +key;
|
||||
|
|
|
|||
Loading…
Reference in New Issue