-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwxt.config.ts
More file actions
51 lines (50 loc) · 1.48 KB
/
wxt.config.ts
File metadata and controls
51 lines (50 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
import { defineConfig } from 'wxt'
// See https://wxt.dev/api/config.html
export default defineConfig({
modules: ['@wxt-dev/module-vue', '@wxt-dev/auto-icons'],
// Override default chrome browser to Brave
webExt: {
disabled: false,
// Manually point to my Brave exe
binaries: {
chrome: 'C:/Program Files/BraveSoftware/Brave-Browser-Beta/Application/brave.exe', // Change path for Mac/Linux
},
},
autoIcons: {
enabled: true,
developmentIndicator: false,
sizes: [128, 48, 32, 16],
},
vite: () => ({
logLevel: 'error', // Suppress warnings
css: {
preprocessorOptions: {
scss: {
api: 'modern-compiler',
quietDeps: true,
silenceDeprecations: ['import'],
additionalData: `@import "@/styles/shared.scss";`,
},
},
},
}),
// manifestVersion: 3,
manifest: ({ browser }) => ({
name: 'DeepStyled - Deepseek Customization',
author: 'itsmarta',
homepage_url: 'https://github.com/itsmartashub/DeepStyled',
permissions: ['storage'],
host_permissions: ['https://chat.deepseek.com/*'],
content_security_policy: {
extension_pages:
"script-src 'self'; style-src 'self' 'unsafe-inline' https://fonts.gstatic.com https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; object-src 'self';",
},
...(browser === 'firefox' && {
applications: {
gecko: {
id: 'deepstyled@itsmarta',
},
},
}),
}),
})