feat: 引入 Vite 前端工程化,解决浏览器缓存问题;AudioWorklet 独立打包带 hash

This commit is contained in:
2026-03-01 05:13:19 +08:00
parent c4ea49b0a3
commit 4b5903b6a1
10 changed files with 229 additions and 13 deletions

10
web/vite.config.js Normal file
View File

@@ -0,0 +1,10 @@
import { defineConfig } from "vite";
export default defineConfig({
root: ".",
build: {
outDir: "dist",
emptyDirBeforeWrite: true,
},
});