feat: 新增环境变量配置|状态管理
This commit is contained in:
1 parent
2ac8148f6a
commit
c7275f504f
328 files changed
+185
-379304
No files matched your search
@@ -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}`;
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in new issue
Block a user