mirror of
https://github.com/bitwarden/browser
synced 2026-02-11 14:04:03 +00:00
Added open and all its transitive dependencies to the webpack allowlist
so they get bundled instead of being marked as external (which caused pnpm symlink issues with pkg)
This commit is contained in:
@@ -108,7 +108,22 @@ module.exports.buildConfig = function buildConfig(params) {
|
||||
externals: [
|
||||
nodeExternals({
|
||||
modulesDir: params.externalsModulesDir,
|
||||
allowlist: [/@bitwarden/],
|
||||
allowlist: [
|
||||
/@bitwarden/,
|
||||
// Bundle 'open' and its dependencies to avoid pnpm symlink issues with pkg
|
||||
/^open$/,
|
||||
/^wsl-utils$/,
|
||||
/^powershell-utils$/,
|
||||
/^define-lazy-prop$/,
|
||||
/^default-browser$/,
|
||||
/^default-browser-id$/,
|
||||
/^bundle-name$/,
|
||||
/^run-applescript$/,
|
||||
/^is-inside-container$/,
|
||||
/^is-in-ssh$/,
|
||||
/^is-docker$/,
|
||||
/^is-wsl$/,
|
||||
],
|
||||
}),
|
||||
],
|
||||
experiments: {
|
||||
|
||||
Reference in New Issue
Block a user