feat(web): vite

This commit is contained in:
Luke
2022-06-30 11:10:02 +02:00
parent c4617f1f57
commit e34fb2855d
11 changed files with 544 additions and 8563 deletions

15
web/vite.config.ts Normal file
View File

@@ -0,0 +1,15 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
base: "./",
build: {
outDir: "build",
target: "esnext",
},
esbuild: {
logOverride: { "this-is-undefined-in-esm": "silent" },
},
});