-
Notifications
You must be signed in to change notification settings - Fork 0
/
wxt.config.ts
41 lines (40 loc) · 1.06 KB
/
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
37
38
39
40
41
import { defineConfig } from 'wxt';
import react from '@vitejs/plugin-react';
// See https://wxt.dev/api/config.html
export default defineConfig({
vite: () => ({
plugins: [react()],
}),
entrypointsDir: './src/entrypoints',
manifestVersion: 3,
manifest: {
name: 'GitHub Custom Notifier',
short_name: 'GitHub Custom Notifier',
description: 'Customize which GitHub Event to be notified.',
homepage_url: 'https://github.com/qiweiii/github-custom-notifier',
icons: {
'16': 'icon/16.png',
'32': 'icon/32.png',
'48': 'icon/48.png',
'64': 'icon/64.png',
'96': 'icon/96.png',
'128': 'icon/128.png',
},
permissions: ['alarms', 'storage', 'offscreen'],
optional_permissions: ['notifications'],
browser_action: {
default_icon: 'icon/icon-toolbar.png',
},
web_accessible_resources: [
{
resources: ['bell.ogg'],
matches: ['*://*/*'],
},
],
browser_specific_settings: {
gecko: {
id: '{5a5c41da-afc4-4154-adcd-335fe5250b9d}',
},
},
},
});