2023-06-12 09:15:25 +02:00
|
|
|
import { defineConfig } from "vite";
|
|
|
|
import { vanillaExtractPlugin } from "@vanilla-extract/vite-plugin";
|
|
|
|
import react from "@vitejs/plugin-react";
|
2024-08-28 09:58:46 +02:00
|
|
|
import { resolve } from 'path';
|
2023-06-12 09:15:25 +02:00
|
|
|
|
|
|
|
// https://vitejs.dev/config/
|
|
|
|
export default defineConfig({
|
2024-08-28 09:58:46 +02:00
|
|
|
plugins: [
|
|
|
|
react(),
|
|
|
|
vanillaExtractPlugin()
|
|
|
|
],
|
|
|
|
mode: 'production',
|
|
|
|
build: {
|
|
|
|
rollupOptions: {
|
|
|
|
input: {
|
|
|
|
index: resolve(__dirname, 'index.html'),
|
2024-09-16 10:26:51 +02:00
|
|
|
privacypolicy: resolve(__dirname, 'privacypolicy/index.html'),
|
|
|
|
checklist: resolve(__dirname, 'checklist/index.html')
|
2024-08-28 09:58:46 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-06-12 09:15:25 +02:00
|
|
|
});
|