18 lines
320 B
TypeScript
18 lines
320 B
TypeScript
import { defineConfig } from "vite";
|
|
import uni from "@dcloudio/vite-plugin-uni";
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [uni()],
|
|
server: {
|
|
host: "0.0.0.0",
|
|
port: 5173,
|
|
strictPort: true,
|
|
},
|
|
preview: {
|
|
host: "0.0.0.0",
|
|
port: 4173,
|
|
strictPort: true,
|
|
},
|
|
});
|