11 lines
276 B
TypeScript
11 lines
276 B
TypeScript
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
import { nodePolyfills } from "vite-plugin-node-polyfills";
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react(), nodePolyfills()],
|
|
server: {
|
|
host: true,
|
|
},
|
|
});
|