mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 15:23:33 +00:00
Cleanup src folder for web and move ts code into src/app per angular convention (#3127)
This commit is contained in:
15
apps/web/src/polyfills.ts
Normal file
15
apps/web/src/polyfills.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import "core-js/stable";
|
||||
require("zone.js/dist/zone");
|
||||
|
||||
if (process.env.NODE_ENV === "production") {
|
||||
// Production
|
||||
} else {
|
||||
// Development and test
|
||||
Error["stackTraceLimit"] = Infinity;
|
||||
require("zone.js/dist/long-stack-trace-zone");
|
||||
}
|
||||
|
||||
// Other polyfills
|
||||
require("whatwg-fetch");
|
||||
require("webcrypto-shim");
|
||||
require("date-input-polyfill");
|
||||
Reference in New Issue
Block a user