feature/webgl-preview-update (#21)

Co-authored-by: itoshi <kkzemeow@gmail.com>
Reviewed-on: #21
This commit was merged in pull request #21.
This commit is contained in:
2026-10-13 16:49:18 +00:00
parent 50ad374cf5
commit 71834904a1
327 changed files with 39034 additions and 8829 deletions

View File

@@ -1,9 +1,9 @@
import { defineConfig } from "vite";
import { defineConfig, type UserConfigExport } from "vite";
import react from "@vitejs/plugin-react";
import tailwindcss from "@tailwindcss/vite";
import path from "path";
import pkg from "./package.json";
// https://vite.dev/config/
export default defineConfig({
plugins: [react(), tailwindcss()],
resolve: {
@@ -16,4 +16,11 @@ export default defineConfig({
"@app": path.resolve(__dirname, "src/app"),
},
},
define: {
__APP_VERSION__: JSON.stringify(pkg.version),
},
build: {
chunkSizeWarningLimit: 5000,
},
});