Skip to content

Commit 8f3742f

Browse files
committed
fix(@schematics/angular): remove the Reflect polyfill
Only IE11 and less needs it. See http://kangax.github.io/compat-table/es6/\#test-Reflect Fixes #206.
1 parent 270a09b commit 8f3742f

File tree

1 file changed

+5
-1
lines changed
  • packages/schematics/angular/application/files/__path__

1 file changed

+5
-1
lines changed

packages/schematics/angular/application/files/__path__/polyfills.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,12 @@
3737
/** IE10 and IE11 requires the following for NgClass support on SVG elements */
3838
// import 'classlist.js'; // Run `npm install --save classlist.js`.
3939

40+
/** IE10 and IE11 requires the following for the Reflect API. */
41+
// import 'core-js/es6/reflect';
42+
43+
4044
/** Evergreen browsers require these. **/
41-
import 'core-js/es6/reflect';
45+
// Used for reflect-metadata in JIT. If you use AOT (and only Angular decorators), you can remove.
4246
import 'core-js/es7/reflect';
4347

4448

0 commit comments

Comments
 (0)