|
1 | | -import { defineConfig } from 'wxt'; |
| 1 | +import { defineConfig } from "wxt" |
2 | 2 |
|
3 | 3 | // See https://wxt.dev/api/config.html |
4 | 4 | export default defineConfig({ |
5 | | - srcDir: 'src', |
6 | | - zip: { |
7 | | - exclude: ['**.env**'], |
8 | | - }, |
9 | | - outDir: process.env.WXT_OUT_DIR || '.output', |
10 | | - modules: ['@wxt-dev/module-svelte'], |
11 | | - manifest: { |
12 | | - name: 'RoyalRefresh', |
13 | | - description: 'A web extension for royalroad.com. For people who juggle multiple stories', |
14 | | - homepage_url: 'https://github.com/Seismix/royalrefresh', |
15 | | - permissions: ['storage', '*://*.royalroad.com/*'], |
16 | | - browser_specific_settings: { |
17 | | - gecko: { |
18 | | - id: 'royalrefresh.extension@example.com', |
19 | | - // @ts-expect-error - data_collection_permissions not yet in WXT types |
20 | | - data_collection_permissions: { |
21 | | - required: ['none'] |
22 | | - } |
| 5 | + srcDir: "src", |
| 6 | + zip: { |
| 7 | + exclude: ["**.env**"], |
| 8 | + excludeSources: [ |
| 9 | + "test-results/**", |
| 10 | + "blob-report/**", |
| 11 | + "playwright-report/**", |
| 12 | + "playwright/.cache/**", |
| 13 | + ], |
| 14 | + }, |
| 15 | + outDir: process.env.WXT_OUT_DIR || ".output", |
| 16 | + modules: ["@wxt-dev/module-svelte"], |
| 17 | + manifest: { |
| 18 | + name: "RoyalRefresh", |
| 19 | + description: |
| 20 | + "A web extension for royalroad.com. For people who juggle multiple stories", |
| 21 | + homepage_url: "https://github.com/Seismix/royalrefresh", |
| 22 | + permissions: ["storage", "*://*.royalroad.com/*"], |
| 23 | + browser_specific_settings: { |
| 24 | + gecko: { |
| 25 | + id: "royalrefresh.extension@example.com", |
| 26 | + // @ts-expect-error - data_collection_permissions not yet in WXT types |
| 27 | + data_collection_permissions: { |
| 28 | + required: ["none"], |
| 29 | + }, |
| 30 | + }, |
| 31 | + gecko_android: {}, |
| 32 | + }, |
| 33 | + icons: { |
| 34 | + "48": "icons/royalroad_48.png", |
| 35 | + "96": "icons/royalroad_96.png", |
| 36 | + "128": "icons/royalroad_128.png", |
23 | 37 | }, |
24 | | - gecko_android: {} |
25 | 38 | }, |
26 | | - icons: { |
27 | | - "48": "icons/royalroad_48.png", |
28 | | - "96": "icons/royalroad_96.png", |
29 | | - "128": "icons/royalroad_128.png" |
30 | | - } |
31 | | - }, |
32 | | -}); |
| 39 | +}) |
0 commit comments