File tree 2 files changed +8
-5
lines changed
packages/@angular/cli/blueprints/ng/files/__path__
2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 3
3
// `ng build --env=prod` then `environment.prod.ts` will be used instead.
4
4
// The list of which env maps to which file can be found in `.angular-cli.json`.
5
5
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
+
6
11
export const environment = {
7
12
production : false
8
13
} ;
Original file line number Diff line number Diff line change 40
40
// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
41
41
42
42
43
- /** Evergreen browsers require these. **/
44
- import 'core-js/es6/reflect' ;
45
- import 'core-js/es7/reflect' ;
46
-
47
-
48
43
/** ALL Firefox browsers require the following to support `@angular/animation`. **/
49
44
// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
50
45
@@ -70,3 +65,6 @@ import 'zone.js/dist/zone'; // Included with Angular CLI.
70
65
* Need to import at least one locale-data with intl.
71
66
*/
72
67
// import 'intl/locale-data/jsonp/en';
68
+
69
+ // Each environment can have different polyfills as well.
70
+ import './environments/environment' ;
You can’t perform that action at this time.
0 commit comments