-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathwxt.config.ts
More file actions
32 lines (31 loc) · 898 Bytes
/
wxt.config.ts
File metadata and controls
32 lines (31 loc) · 898 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
import { defineConfig } from 'wxt';
// See https://wxt.dev/api/config.html
export default defineConfig({
extensionApi: 'chrome',
modules: ['@wxt-dev/module-react'],
manifest: {
permissions: ["commands", "tabs", "activeTab", "background"],
description: "Gitingest extension to open github links in gitingest",
commands: {
"_execute_action": {
description: "Open the popup menu."
},
"change-github-link-to-gitingest-link": {
description: "Change GitHub link to Gitingest link",
suggested_key: {
default: "Ctrl+Shift+M",
mac: "Command+Shift+M",
windows: "Ctrl+Shift+M", // Changed from Control to Ctrl
linux: "Ctrl+Shift+M" // Changed from Control to Ctrl
},
global: true,
},
},
},
manifestVersion: 3,
dev: {
server: {
port: 5187
}
},
});