1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 14:53:33 +00:00

Ensure Angular is running as production (#1093)

This commit is contained in:
Oscar Hinton
2021-07-23 20:03:14 +02:00
committed by GitHub
parent d31150c7a1
commit 35d6a28c94
7 changed files with 9 additions and 8 deletions

View File

@@ -7,7 +7,7 @@ if (!Element.prototype.matches && (Element.prototype as any).msMatchesSelector)
Element.prototype.matches = (Element.prototype as any).msMatchesSelector;
}
if (process.env.ENV === 'production') {
if (process.env.NODE_ENV === 'production') {
// Production
} else {
// Development and test