-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathwxt.config.ts
More file actions
43 lines (41 loc) · 1.91 KB
/
wxt.config.ts
File metadata and controls
43 lines (41 loc) · 1.91 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
41
42
43
import { defineConfig } from 'wxt';
import wasm from "vite-plugin-wasm";
import topLevelAwait from "vite-plugin-top-level-await";
import tailwindcss from '@tailwindcss/vite';
// See https://wxt.dev/api/config.html
export default defineConfig({
srcDir: 'src',
modules: ['@wxt-dev/module-svelte'],
manifest: {
name: "Name",
description: "My extension description",
permissions: ["storage"],
web_accessible_resources: [
{
resources: ["dashboard.html"],
matches: ["*://*/*"]
}
],
// entrypoints: {
// // Existing entry points
// background: 'src/entrypoints/background.ts',
// popup: 'src/entrypoints/popup/popup.ts',
// dashboard: 'src/entrypoints/dashboard/dashboard.ts',
// // Updated content script entry point
// content: 'src/entrypoints/content/content.ts'
// },
},
vite: () => ({
plugins: [
wasm(),
topLevelAwait(),
tailwindcss()
],
}),
webExt: {
// startUrls: ['https://www.nbcnews.com/news/us-news/minnesota-lobbyist-arrested-allegedly-sending-threatening-texts-rcna214283']
// startUrls: ['https://www.google.com/search?q=svelte+&sca_esv=bceb17660d299197&sxsrf=AE3TifPTf4yzQBFL2e4CB2J9kR_SevQN8A%3A1750560224977&ei=4G1XaOu4O_6U5OMP2fO1iQw&ved=0ahUKEwjrqPiCgYSOAxV-CnkGHdl5LcEQ4dUDCBA&uact=5&oq=svelte+&gs_lp=Egxnd3Mtd2l6LXNlcnAiB3N2ZWx0ZSAyBBAjGCcyChAjGIAEGCcYigUyCxAAGIAEGJECGIoFMgoQABiABBgUGIcCMgsQABiABBiRAhiKBTILEAAYgAQYsQMYgwEyCxAAGIAEGJECGIoFMgoQABiABBgUGIcCMgsQABiABBiRAhiKBTILEAAYgAQYsQMYgwFIpQtQ_QZY6AhwAngBkAEAmAHdAaAB9gKqAQUwLjEuMbgBA8gBAPgBAZgCBKAC_wLCAgoQABiwAxjWBBhHwgIGEAAYFhgewgILEAAYgAQYhgMYigXCAggQABiABBiiBMICBRAAGO8FmAMAiAYBkAYIkgcFMi4xLjGgB6gOsgcFMC4xLjG4B_sCwgcDMC40yAcH&sclient=gws-wiz-serp']
startUrls: ['https://www.unz.com/article/was-coronavirus-a-biowarfare-attack-against-china/']
// startUrls: ['https://kirschsubstack.com/p/should-you-get-any-vaccines-the-data']
}
});