-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwxt.config.ts
More file actions
37 lines (36 loc) · 1018 Bytes
/
wxt.config.ts
File metadata and controls
37 lines (36 loc) · 1018 Bytes
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
import { defineConfig } from 'wxt'
// See https://wxt.dev/api/config.html
export default defineConfig({
vite: () => ({
optimizeDeps: {
include: ['@microlink/react-json-view'],
},
}),
modules: ['@wxt-dev/module-react', '@wxt-dev/auto-icons'],
manifestVersion: 3,
manifest: {
name: 'GraphiTab',
homepage_url: 'https://github.com/jayclassless/graphitab',
permissions: ['storage'],
host_permissions: ['<all_urls>'],
content_security_policy: {
extension_pages: "script-src 'self'; object-src 'self';",
},
incognito: 'split',
browser_specific_settings: {
gecko: {
id: '@graphitab.classless.net',
// @ts-expect-error WXT types don't include this valid Firefox manifest key
data_collection_permissions: {
required: ['none'],
},
},
},
},
autoIcons: {
developmentIndicator: 'overlay',
},
zip: {
excludeSources: ['coverage/**', 'test-results/**', 'playwright-report/**', 'plans/**'],
},
})