1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-20 11:24:07 +00:00

[PM-29122] Fix debug build causing slow unlock (#17798)

* Fix debug build causing slow unlock

* Cleanup

* Fix release mode build actually building debug
This commit is contained in:
Bernd Schoolmann
2025-12-03 20:10:10 +01:00
committed by jaasen-livefront
parent 37b8df2e18
commit 2b42e3789e
2 changed files with 7 additions and 3 deletions

View File

@@ -11,4 +11,4 @@ if (isRelease) {
process.env.RUST_LOG = 'debug';
}
execSync(`napi build --platform --js false`, { stdio: 'inherit', env: process.env });
execSync(`napi build --platform --js false ${isRelease ? '--release' : ''}`, { stdio: 'inherit', env: process.env });