-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwxt.config.ts
More file actions
29 lines (28 loc) · 797 Bytes
/
Copy pathwxt.config.ts
File metadata and controls
29 lines (28 loc) · 797 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
import { defineConfig } from 'wxt';
export default defineConfig({
webExt: {
startUrls: [
'https://imgur.com/',
'https://steamcommunity.com/sharedfiles/filedetails/?id=2424633574'
]
},
zip: {
excludeSources: ['gen-icons.sh', 'cws-patch.sh', 'media/screenshots/*', 'media/cws-icon/*']
},
manifest: {
name: 'noimgur',
description: 'Redirects imgur.com to rimgo proxy instances for users in blocked regions',
version: process.env.npm_package_version,
permissions: ['declarativeNetRequestWithHostAccess', 'storage', 'alarms'],
host_permissions: ['<all_urls>'],
browser_specific_settings: {
gecko: {
id: 'noimgur-amo@yobson.xyz',
// @ts-ignore - WXT doesn't support this field yet
data_collection_permissions: {
required: ['none']
}
}
}
}
});