1
0
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:
Oscar Hinton
2022-07-25 15:13:54 +02:00
committed by GitHub
parent 5c57b5e663
commit 478de90d45
21 changed files with 59 additions and 63 deletions

15
apps/web/src/polyfills.ts Normal file
View 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");