-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wxt.config.ts
36 lines (35 loc) · 1010 Bytes
/
wxt.config.ts
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
import vue from '@vitejs/plugin-vue'
import unocss from 'unocss/vite'
import {defineConfig} from 'wxt'
// See https://wxt.dev/api/config.html
export default defineConfig({
imports: {
addons: {
vueTemplate: true
}
},
vite: () => ({
plugins: [vue(), unocss()],
build: {
// Enabling sourcemaps with Vue during development is known to cause problems with Vue
sourcemap: false
}
}),
manifest: {
name: 'Shuriken: Tasks manager for Invoice Ninja',
description: 'Open-source alternative for the official Invoice Ninja: Tasks Chrome extension',
permissions: ['sidePanel'],
action: {
default_title: 'Click to open panel'
},
commands: {
_execute_action: {
suggested_key: {
default: 'Ctrl+I',
mac: 'Ctrl+I',
windows: 'Ctrl+I'
}
}
}
}
})