-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathwxt.config.ts
More file actions
42 lines (38 loc) · 905 Bytes
/
wxt.config.ts
File metadata and controls
42 lines (38 loc) · 905 Bytes
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
import { defineConfig, WxtViteConfig } from "wxt";
// See https://wxt.dev/api/config.html
export default defineConfig({
modules: ["@wxt-dev/module-react", "@wxt-dev/i18n/module"],
vite: (): WxtViteConfig => ({
build:
{
chunkSizeWarningLimit: 1000
}
}),
imports: {
eslintrc: {
enabled: 9
},
},
manifest: ({ browser }) => ({
name: "__MSG_manifest_name__",
description: "__MSG_manifest_description__",
author: "__MSG_manifest_author__",
homepage_url: "https://github.com/xfox111/PasswordGeneratorExtension",
default_locale: "en",
permissions: ["storage"],
icons:
{
16: "/icons/16.png",
32: "/icons/32.png",
48: "/icons/48.png",
128: "/icons/128.png",
1024: "/icons/1024.png"
},
browser_specific_settings: browser !== "firefox" ? undefined : ({
gecko: {
id: "passwordgenerator@xfox111.net",
strict_min_version: "109.0"
}
})
})
});