18 lines
349 B
TypeScript
18 lines
349 B
TypeScript
import { defineConfig } from "vite";
|
|
import solidPlugin from "vite-plugin-solid";
|
|
import UnoCSS from "unocss/vite";
|
|
|
|
const SERVER_HOST = "0.0.0.0";
|
|
const SERVER_PORT = 13213;
|
|
|
|
export default defineConfig({
|
|
plugins: [UnoCSS(), solidPlugin()],
|
|
server: {
|
|
host: SERVER_HOST,
|
|
port: SERVER_PORT,
|
|
},
|
|
build: {
|
|
target: "esnext",
|
|
},
|
|
});
|