26 lines
463 B
TypeScript
26 lines
463 B
TypeScript
import react from "@vitejs/plugin-react";
|
|
import { defineConfig } from "vite";
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
build: {
|
|
rolldownOptions: {
|
|
checks: {
|
|
pluginTimings: false,
|
|
},
|
|
},
|
|
},
|
|
server: {
|
|
middlewareMode: false,
|
|
},
|
|
preview: {
|
|
port: 3000,
|
|
host: true,
|
|
allowedHosts: [
|
|
"imphnen.asepharyana.my.id",
|
|
"imphnen.asepharyana.tech",
|
|
"imphnen.asepharyana.web.id",
|
|
],
|
|
},
|
|
});
|