1
0
mirror of https://github.com/XFox111/PasswordGeneratorExtension.git synced 2026-04-22 08:08:01 +03:00

Major 4.0 (#380)

- Migrated to WXT
- Migrated to NPM
- Added Insert & copy action
- Added ESLint
This commit is contained in:
Eugene Fox
2024-09-25 16:19:12 +03:00
committed by GitHub
parent f2683e37b2
commit 3ecb6c4a31
71 changed files with 14338 additions and 7531 deletions
+42
View File
@@ -0,0 +1,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", "contextMenus", "activeTab"],
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"
}
})
})
});