-
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) · 1.25 KB
/
Copy pathwxt.config.ts
File metadata and controls
40 lines (39 loc) · 1.25 KB
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({
srcDir: "src",
zip: {
exclude: ["**.env**"],
excludeSources: [
"test-results/**",
"blob-report/**",
"playwright-report/**",
"playwright/.cache/**",
],
},
outDir: process.env.WXT_OUT_DIR || ".output",
modules: ["@wxt-dev/module-svelte"],
manifest: {
name: "RoyalRefresh",
description:
"A web extension for royalroad.com. For people who juggle multiple stories",
homepage_url: "https://github.com/Seismix/royalrefresh",
permissions: ["storage"],
host_permissions: ["*://*.royalroad.com/*"],
browser_specific_settings: {
gecko: {
id: "royalrefresh.extension@example.com",
// @ts-expect-error - data_collection_permissions not yet in WXT types
data_collection_permissions: {
required: ["none"],
},
},
gecko_android: {},
},
icons: {
"48": "icons/royalroad_48.png",
"96": "icons/royalroad_96.png",
"128": "icons/royalroad_128.png",
},
},
})