This commit is contained in:
2026-04-29 07:39:29 +02:00
parent 41a5472582
commit b866845b6a
40 changed files with 71735 additions and 111 deletions

View File

@@ -1,9 +1,25 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import { resolve } from 'node:path';
const buildStamp = `${Date.now()}`;
export default defineConfig({
plugins: [react()],
base: './',
build: {
rollupOptions: {
input: {
main: resolve(process.cwd(), 'index.html'),
privacy: resolve(process.cwd(), 'privacy.html'),
},
output: {
entryFileNames: `assets/[name]-${buildStamp}-[hash].js`,
chunkFileNames: `assets/[name]-${buildStamp}-[hash].js`,
assetFileNames: `assets/[name]-${buildStamp}-[hash][extname]`,
},
},
},
server: {
host: '127.0.0.1',
port: 5173,