matrix-dimension/web/polyfills.ts

17 lines
349 B
TypeScript
Raw Normal View History

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