whistle-switch
Version:
Control Homekit by whistling 🎶
16 lines (14 loc) • 343 B
JavaScript
import { resolve } from "path";
import { defineConfig, loadEnv } from "vite";
import reactRefresh from "@vitejs/plugin-react-refresh";
// https://vitejs.dev/config/
export default defineConfig({
build: {
rollupOptions: {
input: {
main: resolve(__dirname, "index.html"),
}
},
},
plugins: [reactRefresh()]
});