Skip to content

Commit 2a04521

Browse files
authored
Merge pull request webpack#6087 from ooflorent/remove_bootstrap_hash
Remove `webpack/bootstrap` hash in source map
2 parents dc7460f + dcfe3cc commit 2a04521

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/MainTemplate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ module.exports = class MainTemplate extends Template {
249249
buf.push(this.asString(this.hooks.requireExtensions.call("", chunk, hash)));
250250
buf.push("");
251251
buf.push(this.asString(this.hooks.startup.call("", chunk, hash)));
252-
let source = this.hooks.render.call(new OriginalSource(this.prefix(buf, " \t") + "\n", `webpack/bootstrap ${hash}`), chunk, hash, moduleTemplate, dependencyTemplates);
252+
let source = this.hooks.render.call(new OriginalSource(this.prefix(buf, " \t") + "\n", "webpack/bootstrap"), chunk, hash, moduleTemplate, dependencyTemplates);
253253
if(chunk.hasEntryModule()) {
254254
source = this.hooks.renderWithEntry.call(source, chunk, hash);
255255
}

0 commit comments

Comments
 (0)