Simplify polyfills.

This commit is contained in:
Alexis Lahouze 2018-06-05 08:09:30 +02:00
parent 2262e0ae49
commit 1f4b2aa2f5

View File

@ -1,11 +1,3 @@
import 'core-js/es6';
import 'core-js/es7/reflect';
require('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');
}
import 'zone.js/dist/zone';