Skip to content

Commit

Permalink
chore(skeleton): remove core-js as the import is too late for IE11
Browse files Browse the repository at this point in the history
Because src/main is executed after aurelia-bootstrapper. Promise has to be polyfilled before aurelia-bootstrapper.
  • Loading branch information
3cp committed Apr 1, 2019
1 parent 24e2d88 commit f572f42
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
1 change: 0 additions & 1 deletion lib/dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"clean-webpack-plugin": "^1.0.1",
"connect-history-api-fallback": "^1.6.0",
"copy-webpack-plugin": "^5.0.0",
"core-js": "^3.0.0",
"cross-env": "^5.2.0",
"cssnano": "^4.1.10",
"css-loader": "^1.0.0",
Expand Down
1 change: 0 additions & 1 deletion skeleton/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"aurelia-cli": "",
"aurelia-testing": "",
"aurelia-tools": "",
"core-js": "",
"gulp": "",
"minimatch": "",
"through2": "",
Expand Down
3 changes: 2 additions & 1 deletion skeleton/plugin/dev-app/main.ext
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import 'core-js/stable';
// @if feat.babel
// regenerator-runtime is to support async/await syntax in ESNext.
// If you don't use async/await, you can remove regenerator-runtime.
import 'regenerator-runtime/runtime';
// @endif
// @if feat.typescript
Expand Down
3 changes: 2 additions & 1 deletion skeleton/scaffold-minimum/src/main.ext
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import 'core-js/stable';
// @if feat.babel
// regenerator-runtime is to support async/await syntax in ESNext.
// If you don't use async/await, you can remove regenerator-runtime.
import 'regenerator-runtime/runtime';
// @endif
// @if feat.typescript
Expand Down
3 changes: 2 additions & 1 deletion skeleton/scaffold-navigation/src/main.ext
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import 'core-js/stable';
// @if feat.babel
// regenerator-runtime is to support async/await syntax in ESNext.
// If you don't use async/await, you can remove regenerator-runtime.
import 'regenerator-runtime/runtime';
// @endif
import 'bootstrap';
Expand Down

0 comments on commit f572f42

Please sign in to comment.