bitwarden-estensione-browser/apps/web/src/app/polyfills.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
346 B
TypeScript
Raw Normal View History

import "core-js/stable";
2018-06-08 05:38:17 +02:00
require("zone.js/dist/zone");
if (process.env.NODE_ENV === "production") {
2018-06-08 05:38:17 +02:00
// Production
} else {
// Development and test
Error["stackTraceLimit"] = Infinity;
require("zone.js/dist/long-stack-trace-zone");
}
2018-06-06 15:43:28 +02:00
2018-06-08 05:38:17 +02:00
// Other polyfills
require("whatwg-fetch");
require("webcrypto-shim");
require("date-input-polyfill");