1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00

chore(dev): Switch to using build constant for isDev check

This commit is contained in:
Justin Baur
2025-09-05 19:12:21 -04:00
committed by GitHub
parent 1a0d3e3ada
commit 7eb89eb45a
7 changed files with 29 additions and 14 deletions

View File

@@ -1,2 +1,10 @@
declare module "forcefocus";
declare const ipc: typeof import("./preload").ipc;
/**
* Will be turned into a constant string in the main process only
* likely either `"development"` or `"production"`.
*
* This is done using the `DefinePlugin` in our webpack files.
*/
declare const BIT_ENVIRONMENT: string;