Simplify polyfills.
This commit is contained in:
parent
2262e0ae49
commit
1f4b2aa2f5
@ -1,11 +1,3 @@
|
|||||||
import 'core-js/es6';
|
import 'core-js/es6';
|
||||||
import 'core-js/es7/reflect';
|
import 'core-js/es7/reflect';
|
||||||
require('zone.js/dist/zone');
|
import 'zone.js/dist/zone';
|
||||||
|
|
||||||
if (process.env.ENV === 'production') {
|
|
||||||
// Production
|
|
||||||
} else {
|
|
||||||
// Development and test
|
|
||||||
Error['stackTraceLimit'] = Infinity;
|
|
||||||
require('zone.js/dist/long-stack-trace-zone');
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user