1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-30 16:23:53 +00:00

Use node-linker=hoisted for electron-builder compatibility

Replace shamefully-hoist with node-linker=hoisted to create a flat
node_modules structure. Maybe fixes electron-builder's code signing
which couldn't find @electron/osx-sign through pnpm's symlinked structure?
This commit is contained in:
Anders Åberg
2025-12-16 12:22:12 +01:00
parent 8065e86e4f
commit be8804d60a

4
.npmrc
View File

@@ -3,5 +3,5 @@ save-exact=true
# This applies to all npm scripts in this repository.
node-options=--max-old-space-size=8192
# Hoist dependencies for compatibility with electron-builder and phantom dependencies
shamefully-hoist=true
# Use flat node_modules structure for compatibility with electron-builder
node-linker=hoisted