First pass at rewriting the HTTPD

This commit is contained in:
2026-05-19 23:17:43 -04:00
parent 533b5b52b8
commit c421970ce0
157 changed files with 4962 additions and 82519 deletions
+31
View File
@@ -0,0 +1,31 @@
import { svelte } from '@sveltejs/vite-plugin-svelte';
import tailwindcss from '@tailwindcss/vite';
import { defineConfig } from 'vite';
import { fileURLToPath, URL } from 'node:url';
export default defineConfig({
base: '/app/',
plugins: [svelte(), tailwindcss()],
resolve: {
alias: {
$lib: fileURLToPath(new URL('./src/lib', import.meta.url))
}
},
build: {
outDir: '../../../build/generated/frontend-resources/httpd/app',
emptyOutDir: true,
rolldownOptions: {
output: {
codeSplitting: {
groups: [
{
name: 'three-renderer',
test: /node_modules[\\/]three[\\/]/,
maxSize: 475 * 1024
}
]
}
}
}
}
});