folium.emuplace.app/vite.config.ts
Jarrod Norwell d8b1e58dac v1.7
2024-09-06 19:35:55 +08:00

22 lines
563 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')
}
}
}
});