feat: 引入 Vite 前端工程化,解决浏览器缓存问题;AudioWorklet 独立打包带 hash
This commit is contained in:
10
web/vite.config.js
Normal file
10
web/vite.config.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import { defineConfig } from "vite";
|
||||
|
||||
export default defineConfig({
|
||||
root: ".",
|
||||
build: {
|
||||
outDir: "dist",
|
||||
emptyDirBeforeWrite: true,
|
||||
},
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user