-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwxt.config.ts
More file actions
40 lines (39 loc) · 981 Bytes
/
wxt.config.ts
File metadata and controls
40 lines (39 loc) · 981 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
38
39
40
import { defineConfig } from "wxt";
// See https://wxt.dev/api/config.html
export default defineConfig({
modules: ["@wxt-dev/module-react"],
manifest: {
name: "Vimput",
description:
"Edit any text input with a Vim-powered editor. Right-click on any input field to open the Vimput editor.",
version: "1.3.3",
permissions: ["contextMenus", "storage", "activeTab"],
icons: {
16: "icons/png/icon-16.png",
32: "icons/png/icon-32.png",
48: "icons/png/icon-48.png",
128: "icons/png/icon-128.png",
},
web_accessible_resources: [
{
resources: ["pageScript.js", "vimput-formatter.py"],
matches: ["<all_urls>"],
},
],
browser_specific_settings: {
gecko: {
id: "vimput@extension",
data_collection_permissions: {
data_collection_enabled: false,
required: ["none"],
},
} as {
id: string;
data_collection_permissions: {
data_collection_enabled: boolean;
required: string[];
};
},
},
},
});