Skip to content
Permalink
Browse files

fix(skeleton): fix Promise polyfill on IE

Load promise-polyfill before loading aurelia-bootstrapper. The polyfill can be removed if user don't need to support IE.

closes #1079
  • Loading branch information...
3cp committed Mar 29, 2019
1 parent f572f42 commit bc377dc38e2aad606691ae9ffe0d0b4d7f469103
@@ -82,6 +82,7 @@
"opn": "^5.4.0",
"postcss-loader": "^3.0.0",
"postcss-url": "^8.0.0",
"promise-polyfill": "^8.1.0",
"protractor": "^5.4.2",
"regenerator-runtime": "0.13.2",
"requirejs": "^2.3.6",

Some generated files are not rendered by default. Learn more.

@@ -144,6 +144,7 @@
{
"name": "vendor-bundle.js",
"prepend": [
"node_modules/promise-polyfill/dist/polyfill.min.js",
// @if feat.requirejs
"node_modules/requirejs/require.js"
// @endif
@@ -25,6 +25,7 @@
"minimatch": "",
"through2": "",
"vinyl-fs": "",
"promise-polyfill": "",

// @if feat.babel
"regenerator-runtime": "",
@@ -287,6 +287,7 @@ module.exports = ({ production, server, extractCss, coverage, analyze, karma } =
$: 'jquery',
jQuery: 'jquery',
// @endif
'Promise': ['promise-polyfill', 'default']
}),
new ModuleDependenciesPlugin({
'aurelia-testing': ['./compile-spy', './view-spy']

0 comments on commit bc377dc

Please sign in to comment.
You can’t perform that action at this time.