1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

[PM-11290] Fix safari not starting with sdk (#11438)

We ran into some inconsistencies between how manifest v2 and v3 are handled in browsers. To resolve this we have a different flow for manifest v2 which dynamically imports, while v3 uses the sync importScripts.
This commit is contained in:
Oscar Hinton
2024-10-07 18:00:07 +02:00
committed by GitHub
parent a6db7e3086
commit 7e4d735532
3 changed files with 38 additions and 8 deletions

View File

@@ -316,6 +316,8 @@ const mainConfig = {
},
output: {
filename: "[name].js",
chunkFilename: "assets/[name].js",
webassemblyModuleFilename: "assets/[modulehash].wasm",
path: path.resolve(__dirname, "build"),
clean: true,
},