Skip to content

Commit

Permalink
Merge pull request #9493 from Lyrkan/9491-fix-entrypoint-names
Browse files Browse the repository at this point in the history
Fix JSONP main template to allow currently forbidden chunk IDs (#9491)
  • Loading branch information
sokra committed Aug 1, 2019
2 parents 3aeff63 + 6b6342e commit ba20513
Show file tree
Hide file tree
Showing 5 changed files with 101 additions and 79 deletions.
2 changes: 1 addition & 1 deletion lib/web/JsonpMainTemplatePlugin.js
Expand Up @@ -367,7 +367,7 @@ class JsonpMainTemplatePlugin {
"for(;i < chunkIds.length; i++) {",
Template.indent([
"chunkId = chunkIds[i];",
"if(installedChunks[chunkId]) {",
"if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {",
Template.indent("resolves.push(installedChunks[chunkId][0]);"),
"}",
"installedChunks[chunkId] = 0;"
Expand Down

0 comments on commit ba20513

Please sign in to comment.