Move to Docker build without Vercel

This commit is contained in:
Bart van der Braak 2024-10-10 00:13:06 +02:00
parent 16221dec61
commit 1e6059f745
16 changed files with 160 additions and 627 deletions

View file

@ -3,11 +3,7 @@ import { defineConfig } from 'vite';
import fs from 'fs';
export default defineConfig({
plugins: [base64(), rawFonts(['.woff']), sveltekit()],
define: {
'import.meta.env.VERCEL_URL': JSON.stringify(process.env.VERCEL_URL),
'import.meta.env.VERCEL_ENV': JSON.stringify(process.env.VERCEL_ENV)
}
plugins: [base64(), rawFonts(['.woff']), sveltekit()]
});
function rawFonts(ext: string[]) {