matrix-dimension/web/polyfills.ts

19 lines
423 B
TypeScript
Raw Normal View History

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');
}