Initial commit

This commit is contained in:
Niels Pauls
2026-04-02 12:37:25 +02:00
commit 303c522419
24 changed files with 9028 additions and 0 deletions

28
www/vite.config.js Normal file
View File

@@ -0,0 +1,28 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import tailwindcss from '@tailwindcss/vite'
import fs from 'fs';
import path from 'path';
// https://vite.dev/config/
export default defineConfig({
plugins: [
react(),
tailwindcss(),
],
optimizeDeps: {
include: ['three'],
},
resolve: {
alias: {
three: 'three'
}
},
server: {
https: {
key: fs.readFileSync(path.resolve(__dirname, 'localhost-key.pem')),
cert: fs.readFileSync(path.resolve(__dirname, 'localhost.pem')),
},
port: 5173
}
})