folium.emuplace.app/vite.config.ts
2024-09-16 16:26:51 +08:00

23 lines
634 B
TypeScript

import { defineConfig } from "vite";
import { vanillaExtractPlugin } from "@vanilla-extract/vite-plugin";
import react from "@vitejs/plugin-react";
import { resolve } from 'path';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
react(),
vanillaExtractPlugin()
],
mode: 'production',
build: {
rollupOptions: {
input: {
index: resolve(__dirname, 'index.html'),
privacypolicy: resolve(__dirname, 'privacypolicy/index.html'),
checklist: resolve(__dirname, 'checklist/index.html')
}
}
}
});