feat: 新增环境变量配置|状态管理

This commit is contained in:
duanshuwen
2025-08-12 19:10:56 +08:00
parent 2ac8148f6a
commit c7275f504f
328 changed files with 185 additions and 379304 deletions

18
vite.config.js Normal file
View File

@@ -0,0 +1,18 @@
import { defineConfig } from "vite";
import uni from "@dcloudio/vite-plugin-uni";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [uni()],
build: {
rollupOptions: {
output: {
assetFileNames(d) {
// const baseName = d.name.replace(/\\/g, "/").split("/").pop();
// const newName = md5(baseName) + ".[hash].[extname]";
// return `assets/${newName}`;
},
},
},
},
});