mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
20 lines
379 B
TypeScript
20 lines
379 B
TypeScript
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
const path = require("path");
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
base: "./",
|
|
server: {
|
|
port: 3000,
|
|
},
|
|
build: {
|
|
outDir: "build",
|
|
target: "esnext",
|
|
},
|
|
esbuild: {
|
|
logOverride: { "this-is-undefined-in-esm": "silent" },
|
|
},
|
|
});
|