-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwxt.config.ts
54 lines (46 loc) · 1.24 KB
/
wxt.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
49
50
51
52
53
54
import { defineConfig } from 'wxt'
import { resolve } from 'node:path'
// See https://wxt.dev/api/config.html
export default defineConfig({
srcDir: 'src',
extensionApi: 'chrome',
modules: ['@wxt-dev/module-svelte'],
alias: {
['@/assets']: resolve('src/assets'),
['@/components']: resolve('src/components'),
['@/entrypoints']: resolve('src/entrypoints'),
['@/models']: resolve('src/models'),
['@/services']: resolve('src/services'),
['@/stores']: resolve('src/stores'),
['@/utils']: resolve('src/utils')
},
manifest: {
name: 'Bambloo',
description: "Let your Discord crew know what your browser is up to!",
minimum_chrome_version: '120',
version: '1.0.0',
action: {
default_title: 'Share what you are up to on Discord',
default_icon: {
16: 'logo/icon-16.png',
32: 'logo/icon-32.png',
48: 'logo/icon-48.png',
128: 'logo/icon-128.png'
}
},
icons: {
16: 'logo/icon-16.png',
32: 'logo/icon-32.png',
48: 'logo/icon-48.png',
128: 'logo/icon-128.png'
},
browser_specific_settings: {
gecko: {
id: '[email protected]',
strict_min_version: '50.0'
}
},
permissions: ['nativeMessaging', 'storage', 'tabs', 'userScripts', 'scripting'],
host_permissions: ['<all_urls>']
}
})