chore: update config

This commit is contained in:
molvqingtai 2024-09-27 13:53:50 +08:00
parent 4d70d67c41
commit 4f9e73899a
2 changed files with 4 additions and 2 deletions

View file

@ -42,7 +42,7 @@
"bugs": { "bugs": {
"url": "https://github.com/molvqingtai/WebChat/issues" "url": "https://github.com/molvqingtai/WebChat/issues"
}, },
"homepage": "https://github.com/molvqingtai/WebChat#readme", "homepage": "https://github.com/molvqingtai/WebChat",
"dependencies": { "dependencies": {
"@hookform/resolvers": "^3.9.0", "@hookform/resolvers": "^3.9.0",
"@lottiefiles/dotlottie-react": "^0.9.0", "@lottiefiles/dotlottie-react": "^0.9.0",

View file

@ -1,7 +1,7 @@
import path from 'node:path' import path from 'node:path'
import { defineConfig } from 'wxt' import { defineConfig } from 'wxt'
import react from '@vitejs/plugin-react' import react from '@vitejs/plugin-react'
import { name } from './package.json' import { name, displayName, homepage } from './package.json'
import svgr from 'vite-plugin-svgr' import svgr from 'vite-plugin-svgr'
export default defineConfig({ export default defineConfig({
@ -13,6 +13,8 @@ export default defineConfig({
}, },
manifest: { manifest: {
permissions: ['storage'], permissions: ['storage'],
name: displayName,
homepage_url: homepage,
icons: { icons: {
'16': 'logo.png', '16': 'logo.png',
'32': 'logo.png', '32': 'logo.png',