The Svelte 5 SSG Migration (#1)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful

- Migrates the site to Svelte 5
- Still generates a static site with inlined critical path CSS for the ultimate in performance
- Opens up future possibilities for site growth

Reviewed-on: #1
Co-authored-by: mifi <badmf@mifi.dev>
Co-committed-by: mifi <badmf@mifi.dev>
This commit was merged in pull request #1.
This commit is contained in:
2026-02-01 05:50:41 +00:00
committed by Mike Fitzpatrick
parent 40b770f8b5
commit 911093f0b6
96 changed files with 6841 additions and 3647 deletions

View File

@@ -1,7 +1,7 @@
# Static site container for mifi Ventures
# Build stage: run critical CSS inlining; final stage: serve dist/ via nginx
# Build stage: SvelteKit build + Critters; final stage: serve dist/ via nginx
# Stage 1: Build (critical CSS inlining + copy assets → dist/)
# Stage 1: Build (SvelteKit + critical CSS inlining → dist/)
FROM node:20-alpine AS builder
WORKDIR /app
@@ -12,8 +12,10 @@ RUN corepack enable && corepack prepare pnpm@9.15.0 --activate
COPY package.json pnpm-lock.yaml* ./
RUN pnpm install --frozen-lockfile || pnpm install
COPY build.mjs ./
COPY site/ ./site/
COPY svelte.config.js vite.config.ts tsconfig.json postcss.config.js ./
COPY src/ ./src/
COPY static/ ./static/
COPY scripts/ ./scripts/
RUN pnpm run build