File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
packages/schematics/angular/application/files/src Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 2
2
// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
3
3
// The list of file replacements can be found in `angular.json`.
4
4
5
+ // Used for reflect-metadata in JIT. For size and performance reasons, this should not be imported
6
+ // in AOT unless absolutely needed. All Angular metadata is removed in AOT so this is only needed,
7
+ // by default, in development.
8
+ import 'core-js/es7/reflect' ;
9
+
5
10
export const environment = {
6
11
production : false
7
12
} ;
Original file line number Diff line number Diff line change 42
42
43
43
44
44
/** Evergreen browsers require these. **/
45
- // Used for reflect-metadata in JIT. If you use AOT (and only Angular decorators), you can remove.
46
- import 'core-js/es7/reflect' ;
47
-
48
-
49
45
/**
50
46
* Web Animations `@angular/platform-browser/animations`
51
47
* Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.
You can’t perform that action at this time.
0 commit comments