Commit 73a46ac4 by zhangxingmin

push

parent d12348f6
......@@ -4,6 +4,7 @@ import vue from '@vitejs/plugin-vue';
import { fileURLToPath, URL } from 'node:url';
export default defineConfig({
base: '/cffp/', // 匹配 manifest.json 中的 base 路径
plugins: [vue({/* 自定义元素配置 */})],
resolve: {
alias: { '@': fileURLToPath(new URL('./', import.meta.url)) }
......@@ -16,6 +17,8 @@ export default defineConfig({
}
},
build: {
outDir: 'dist',
assetsDir: 'assets'
minify: 'terser',
terserOptions: {
compress: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment