-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathwxt.config.ts
More file actions
38 lines (37 loc) · 1 KB
/
wxt.config.ts
File metadata and controls
38 lines (37 loc) · 1 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
import { resolve } from 'node:path';
import { defineConfig } from 'wxt';
// See https://wxt.dev/api/config.html
export default defineConfig({
modules: ['@wxt-dev/module-react', '@wxt-dev/auto-icons'],
manifest: {
name: 'tailname',
description: 'Search for custom tailnet name offers with keywords.',
version: '1.0',
permissions: [
'cookies',
'alarms',
'storage',
'notifications',
'scripting',
'tabs',
],
host_permissions: ['https://login.tailscale.com/*'],
incognito: import.meta.env.CHROME ? 'split' : 'spanning',
browser_specific_settings: {
gecko: {
id: 'tailname@sapphic.moe',
},
},
},
alias: {
$background: resolve('entrypoints/background'),
$components: resolve('entrypoints/popup/components'),
$config: resolve('config.ts'),
$handlers: resolve('handlers'),
$helpers: resolve('helpers'),
$hooks: resolve('entrypoints/popup/hooks'),
$popup: resolve('entrypoints/popup'),
$screens: resolve('entrypoints/popup/screens'),
$types: resolve('types'),
},
});