mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
build: FireFox ID
This commit is contained in:
parent
4bcce483e9
commit
f67065bcf4
1 changed files with 3 additions and 0 deletions
|
|
@ -72,6 +72,9 @@ function createConfig({ envTarget }: { envTarget: Target }) {
|
|||
manifest.manifest_version = 3
|
||||
// Firefox does not support service worker
|
||||
Reflect.set(manifest.background, 'scripts', [manifest.background.service_worker])
|
||||
Reflect.set(manifest, 'browser_specific_settings', {
|
||||
gecko: { id: '{983bd86b-9d6f-4394-92b8-63d844c4ce4c}' },
|
||||
})
|
||||
Reflect.deleteProperty(manifest.background, 'service_worker')
|
||||
break
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue