Skip to content

Commit dc9db60

Browse files
committed
fix(polyfills): add optional settings for IE10 issues
1 parent 10cb932 commit dc9db60

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

src/polyfills.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,21 @@ import 'zone.js/dist/zone'; // Included with Angular CLI.
7676
/***************************************************************************************************
7777
* APPLICATION IMPORTS
7878
*/
79+
80+
/***************************************************************************************************
81+
* IE10 issues
82+
*/
83+
84+
/**
85+
* IE10 - some CSS3 properties and HTML5 elements are not fully supported or require prefixed properties for full functionality
86+
* to let Autoprefixer use old flexbox prefixes - add a browserslist property to the package.json file:
87+
* "browserslist": [
88+
* "last 2 versions",
89+
* "not ie < 10",
90+
* ]
91+
*/
92+
93+
/**
94+
* IE10 - TypeError: Object doesn't support property or method 'getRootNode'
95+
*/
96+
// import 'get-root-node-polyfill/implement'; // Run `npm i get-root-node-polyfill`.

0 commit comments

Comments
 (0)