mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-18 15:36:02 +01:00
feat(web): vite
This commit is contained in:
15
web/vite.config.ts
Normal file
15
web/vite.config.ts
Normal 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" },
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user