Skip to content

Commit

Permalink
chore: let extension id stable (#10555)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack-Works authored and guanbinrui committed Aug 22, 2023
1 parent bcde0ed commit cf81fc8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/mask/.webpack/manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@ function editManifest(manifest: ManifestV2 | ManifestV3, flags: ModifyAcceptFlag
else if (flags.channel === 'beta') manifest.name += ' (beta)'
else if (flags.channel === 'insider') manifest.name += ' (insider)'

if (flags.mode === 'development') fixTheExtensionID(manifest)
if (flags.mode === 'production' && flags.channel !== 'stable') fixTheExtensionID(manifest)
fixTheExtensionID(manifest)
if (flags.devtools) manifest.devtools_page = 'devtools-background.html'

const topPackageJSON = JSON.parse(readFileSync(new URL('../../../package.json', import.meta.url), 'utf-8'))
Expand Down

0 comments on commit cf81fc8

Please sign in to comment.