1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-04 13:44:00 +01:00
bitwarden-browser/apps/web/src/polyfills.ts

11 lines
242 B
TypeScript
Raw Normal View History

2021-12-17 15:57:11 +01:00
import "core-js/stable";
require("zone.js/dist/zone");
2018-06-08 05:38:17 +02:00
2021-12-17 15:57:11 +01:00
if (process.env.NODE_ENV === "production") {
// Production
2018-06-08 05:38:17 +02:00
} else {
2021-12-17 15:57:11 +01:00
// Development and test
Error["stackTraceLimit"] = Infinity;
require("zone.js/dist/long-stack-trace-zone");
2018-06-08 05:38:17 +02:00
}