mirror of
https://github.com/Dvorinka/Primora.git
synced 2026-06-04 12:33:01 +00:00
19 lines
367 B
TypeScript
19 lines
367 B
TypeScript
import { defineConfig } from "vite";
|
|
import solidPlugin from "vite-plugin-solid";
|
|
|
|
export default defineConfig({
|
|
plugins: [solidPlugin()],
|
|
server: {
|
|
host: "0.0.0.0",
|
|
port: Number(process.env.FRONTEND_PORT ?? 3000),
|
|
},
|
|
preview: {
|
|
host: "0.0.0.0",
|
|
port: Number(process.env.FRONTEND_PORT ?? 3000),
|
|
},
|
|
build: {
|
|
target: "esnext",
|
|
},
|
|
});
|
|
|