matrix-dimension/web/polyfills.ts
2017-05-26 21:51:48 -06:00

19 lines
423 B
TypeScript

import "core-js/client/shim";
import "reflect-metadata";
import "ts-helpers";
//noinspection TypeScriptUnresolvedFunction
require('zone.js/dist/zone');
//noinspection TypeScriptUnresolvedVariable
if (process.env.ENV === 'build') {
// Production
} else {
// Development
Error['stackTraceLimit'] = Infinity;
//noinspection TypeScriptUnresolvedFunction
require('zone.js/dist/long-stack-trace-zone');
}