-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwxt.config.ts
More file actions
60 lines (59 loc) · 1.48 KB
/
wxt.config.ts
File metadata and controls
60 lines (59 loc) · 1.48 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
import { defineConfig } from 'wxt'
import tailwindcss from '@tailwindcss/vite'
// See https://wxt.dev/api/config.html
export default defineConfig({
modules: ['@wxt-dev/module-react'],
experimental: {
// Enable root-level component auto-import
includeComponents: ['components/**/*'],
// Enable root-level hook auto-import
includeHooks: ['hooks/**/*'],
},
manifest: {
name: 'Block Clipper',
description:
'Clip, save, and organize web content instantly. Local storage, Markdown export, full-text search. Privacy-focused.',
permissions: [
'activeTab',
'storage',
'scripting',
'contextMenus',
'sidePanel',
'notifications',
'windows',
],
default_locale: 'en',
options_page: 'options-page.html',
side_panel: {
default_path: 'sidepanel.html',
},
commands: {
'clip-selection': {
suggested_key: {
default: 'Ctrl+Shift+Y',
mac: 'Command+Shift+Y',
},
description: 'Clip selected content',
},
'open-sidepanel': {
suggested_key: {
default: 'Ctrl+Shift+S',
mac: 'Command+Shift+S',
},
description: 'Open Block Clipper side panel',
},
},
action: {
default_title: 'Open Block Clipper',
},
web_accessible_resources: [
{
resources: ['chunks/*-Readability.js'],
matches: ['<all_urls>'],
},
],
},
vite: () => ({
plugins: [tailwindcss()],
}),
})