File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
packages/@angular/cli/blueprints/ng/files/__path__ Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 33// `ng build --env=prod` then `environment.prod.ts` will be used instead.
44// The list of which env maps to which file can be found in `.angular-cli.json`.
55
6+ // Evergreen browsers require these polyfills on non-aot builds.
7+ // If you need to use `--prod --no-aot` you should transfer these over to `polyfills.ts`.
8+ import 'core-js/es6/reflect' ;
9+ import 'core-js/es7/reflect' ;
10+
611export const environment = {
712 production : false
813} ;
Original file line number Diff line number Diff line change 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- /** Evergreen browsers require these. **/
41- import 'core-js/es6/reflect' ;
42- import 'core-js/es7/reflect' ;
43-
4440
4541/**
4642 * Required to support Web Animations `@angular/animation`.
@@ -70,3 +66,6 @@ import 'zone.js/dist/zone'; // Included with Angular CLI.
7066 * Need to import at least one locale-data with intl.
7167 */
7268// import 'intl/locale-data/jsonp/en';
69+
70+ // Each environment can have different polyfills as well.
71+ import './environments/environment' ;
You can’t perform that action at this time.
0 commit comments