From 1f4b2aa2f5457ee8caa23a172be204a7f881fa04 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Tue, 5 Jun 2018 08:09:30 +0200 Subject: [PATCH] Simplify polyfills. --- src/polyfills.ts | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/polyfills.ts b/src/polyfills.ts index b47fbf5..148e40b 100644 --- a/src/polyfills.ts +++ b/src/polyfills.ts @@ -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';