matrix-dimension/web/polyfills.ts
2019-07-10 22:17:16 -06:00

18 lines
350 B
TypeScript

import "reflect-metadata";
import "ts-helpers";
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");
}