rollup-starter-code-splitting icon indicating copy to clipboard operation
rollup-starter-code-splitting copied to clipboard

'Promise' is undefined in system.js

Open digitaldonkey opened this issue 7 years ago • 2 comments

image

digitaldonkey avatar Nov 05 '18 13:11 digitaldonkey

In IE11 you must explicitly include a Promise polyfill in SystemJS. See https://github.com/systemjs/systemjs#polyfills-for-older-browsers.

guybedford avatar Nov 05 '18 13:11 guybedford

In my case, I have bundled a Promise polyfill with s.js and we load that file dynamically if the es6 dynamic import fails.

enure avatar Nov 26 '18 23:11 enure