Add tests for featured thumbnail generation; apply Pint formatting and related edits

This commit is contained in:
2026-05-06 18:55:40 +02:00
parent 7a8bc8e22a
commit 82f2b1f660
65 changed files with 11325 additions and 49545 deletions

View File

@@ -3,9 +3,16 @@ import { createInertiaApp } from '@inertiajs/react'
import createServer from '@inertiajs/react/server'
import ReactDOMServer from 'react-dom/server'
// Eagerly import every Inertia page component so the SSR server can resolve
// any page name without async dynamic imports (Node.js + Vite SSR requirement).
const pages = import.meta.glob(['./Pages/**/*.jsx', '!./Pages/**/*.test.jsx', '!./Pages/**/__tests__/**'], { eager: true })
// Eagerly import Inertia page components so the SSR server can resolve any page
// name without async dynamic imports (Node.js + Vite SSR requirement).
// The standalone homepage is Blade-mounted through @vite, so it stays out of
// the SSR graph to avoid duplicate lazy/static imports for its below-fold rails.
const pages = import.meta.glob([
'./Pages/**/*.jsx',
'!./Pages/Home/**/*.jsx',
'!./Pages/**/*.test.jsx',
'!./Pages/**/__tests__/**',
], { eager: true })
// Lightweight server-only placeholder for pages that must remain client-only.
// Returning this prevents an error-level stacktrace while still avoiding