-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(react): cleans up polyfill logic and provide custom-element pol…
- Loading branch information
Showing
4 changed files
with
53 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 6 additions & 2 deletions
8
packages/react/src/schematics/application/files/app/src/polyfills.ts__tmpl__
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
/** | ||
* This file contains polyfills loaded on all browsers | ||
**/ | ||
* Polyfill stable language features. These imports will be optimized by `@babel/preset-env`. | ||
* | ||
* See: https://github.com/zloirock/core-js#babel | ||
*/ | ||
import 'core-js/stable'; | ||
import 'regenerator-runtime/runtime'; |
8 changes: 6 additions & 2 deletions
8
packages/web/src/schematics/application/files/app/src/polyfills.ts__tmpl__
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
/** | ||
* This file contains polyfills loaded on all browsers | ||
**/ | ||
* Polyfill stable language features. These imports will be optimized by `@babel/preset-env`. | ||
* | ||
* See: https://github.com/zloirock/core-js#babel | ||
*/ | ||
import 'core-js/stable'; | ||
import 'regenerator-runtime/runtime'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters