Skip to content

Commit

Permalink
Fixed bundle splitting and async chunks in IE11 (#6042)
Browse files Browse the repository at this point in the history
Turns out Webpack 2+ uses `Promise`s internally and they have to be
polyfilled. The `admin.widget` bundle wouldn't load correctly in IE due
to #5929 and #5941 not covering all the cases.
  • Loading branch information
vxsx authored and czpython committed Aug 18, 2017
1 parent 52ed16b commit 5094a01
Show file tree
Hide file tree
Showing 10 changed files with 3,481 additions and 3,492 deletions.

This file was deleted.

10 changes: 0 additions & 10 deletions cms/static/cms/js/dist/3.4.3/bundle.toolbar.min.js

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cms/static/cms/js/modules/get-dist-path.js
Expand Up @@ -20,7 +20,7 @@ var getDistPath = function (scriptFileName) {
}
fileName = scriptPath;
fileName = fileName.split('?')[0].split('/').pop(); // get script filename
if (fileName === scriptFileName) {
if (fileName.match(fileNameReplaceRegExp)) {
return scriptPath;
}
}
Expand Down

0 comments on commit 5094a01

Please sign in to comment.