-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.config.ts
48 lines (47 loc) · 1.02 KB
/
manifest.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import { defineManifest } from '@crxjs/vite-plugin'
export default defineManifest(async (env) => {
return {
manifest_version: 3,
name: '__MSG_appName__',
description: '__MSG_appDesc__',
default_locale: 'en',
version: '0.0.1',
icons: {
'16': 'src/assets/icon.png',
'32': 'src/assets/icon.png',
'48': 'src/assets/icon.png',
'128': 'src/assets/icon.png',
},
background: {
service_worker: 'src/background/index.ts',
type: 'module',
},
action: {},
host_permissions: [
],
optional_host_permissions: [
'https://*/*',
],
permissions: [
'storage',
'unlimitedStorage',
'sidePanel',
],
content_scripts: [
],
commands: {
'open-app': {
suggested_key: {
default: 'Alt+J',
windows: 'Alt+J',
linux: 'Alt+J',
mac: 'Command+J',
},
description: 'Open MyAwesomeApp app',
},
},
side_panel: {
default_path: 'sidepanel.html',
},
}
})