1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

Feature/manifest v3 migration (#2889)

* migrate manifest to v3

* undo manifest changes for V3

* add separate manifest for v3

* use cross-env
This commit is contained in:
Jake Fink
2022-06-10 09:41:34 -04:00
committed by GitHub
parent 378a1d5a73
commit 75f05f669f
3 changed files with 134 additions and 1 deletions

View File

@@ -72,7 +72,9 @@ const plugins = [
}),
new CopyWebpackPlugin({
patterns: [
"./src/manifest.json",
process.env.MANIFEST_VERSION == 3
? { from: "./src/manifest.json.v3", to: "manifest.json" }
: "./src/manifest.json",
{ from: "./src/_locales", to: "_locales" },
{ from: "./src/images", to: "images" },
{ from: "./src/popup/images", to: "popup/images" },