perf(aio): load reflect-metadata polyfill only in the dev mode
This commit is contained in:

committed by
Pete Bacon Darwin

parent
59136fdbe4
commit
47c72e4627
@ -40,9 +40,8 @@
|
||||
// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
|
||||
|
||||
|
||||
/** Evergreen browsers require these. **/
|
||||
import 'core-js/es6/reflect';
|
||||
import 'core-js/es7/reflect';
|
||||
/** HACK: force import of environment.ts/environment.prod.ts to load env specific polyfills */
|
||||
import './environments/environment';
|
||||
|
||||
|
||||
/** ALL Firefox browsers require the following to support `@angular/animation`. **/
|
||||
|
Reference in New Issue
Block a user