-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwxt.config.ts
More file actions
35 lines (34 loc) · 865 Bytes
/
wxt.config.ts
File metadata and controls
35 lines (34 loc) · 865 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
import vuetify from 'vite-plugin-vuetify'
import { defineConfig } from 'wxt'
// See https://wxt.dev/api/config.html
export default defineConfig({
srcDir: 'src',
modules: ['@wxt-dev/module-vue', '@wxt-dev/i18n/module'],
manifest: {
permissions: ['declarativeNetRequest', 'background', 'storage'],
host_permissions: ['<all_urls>'],
default_locale: 'en',
name: 'AnyProxy',
action: {
default_title: '__MSG_actionTitle__',
},
content_scripts: [
{
matches: ['<all_urls>'],
js: ['content-main.js'],
run_at: 'document_start',
world: 'MAIN',
all_frames: true,
},
{
matches: ['<all_urls>'],
js: ['content-scripts/content.js'],
run_at: 'document_start',
all_frames: true,
},
],
},
vite: () => ({
plugins: [vuetify()],
}),
})