-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathwxt.config.ts
More file actions
35 lines (34 loc) ยท 1.04 KB
/
wxt.config.ts
File metadata and controls
35 lines (34 loc) ยท 1.04 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
import { defineConfig } from 'wxt';
import tailwindcss from '@tailwindcss/vite';
// See https://wxt.dev/api/config.html
export default defineConfig({
srcDir: 'src',
modules: ['@wxt-dev/module-react', '@wxt-dev/auto-icons'],
autoIcons: {
baseIconPath: 'public/icons/icon128.png',
enabled: true,
developmentIndicator: 'overlay',
},
vite: () => ({
plugins: [tailwindcss()],
resolve: {
alias: [
{ find: '@', replacement: '/src/' },
{ find: '@sidepanel', replacement: '/src/entrypoints/sidepanel' },
],
},
}),
manifest: {
$schema: 'https://json.schemastore.org/chrome-manifest',
manifest_version: 3,
name: '์ด์ฝ (์ดํด๋์ค ๋์์ฃผ๋ ์ฝ๋ผ๋ฆฌ)',
description: '๋๊ตญ๋ํ๊ต ์ดํด๋์ค ๋ณด์กฐ ํ์ฅ ํ๋ก๊ทธ๋จ์
๋๋ค.',
permissions: ['scripting', 'storage', 'tabs', 'sidePanel'],
host_permissions: ['https://eclass.dongguk.edu/*'],
icons: {
'16': '/icons/icon16.png',
'48': '/icons/icon48.png',
'128': '/icons/icon128.png',
},
},
});