mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-18 07:26:02 +01:00
chore(web): migrate to vite v4 (#214)
Updated vite to v4 and update the react-plugin to support the v4 changes. Made sure dev port was stays consistent and manually set it to :3000
This commit is contained in:
committed by
GitHub
parent
db4a75dfbc
commit
8c560b5f87
@@ -5,6 +5,9 @@ import react from "@vitejs/plugin-react";
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
base: "./",
|
||||
server: {
|
||||
port: 3000,
|
||||
},
|
||||
build: {
|
||||
outDir: "build",
|
||||
target: "esnext",
|
||||
|
||||
Reference in New Issue
Block a user