matrix-dimension/web/polyfills.ts

18 lines
379 B
TypeScript
Raw Normal View History

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