Files
cloudflare__vinext/examples/hackernews
James Anderson 12c747f686 fix: restore baseUrl in hackernews tsconfig to fix build (#770)
Removing baseUrl in the security audit PR (#741) silently broke the
hackernews example build: loading.tsx, page.tsx and other app files
import components and lib via bare specifiers ('components/skeletons',
'lib/get-comments', etc.) that Vite resolves using the tsconfig baseUrl.
Without it Rolldown cannot find those modules and the build fails.

Restore 'baseUrl: "."' so Vite continues to resolve those imports
correctly. Other examples (app-router-playground, fumadocs-docs-template)
already keep baseUrl for the same reason.
2026-04-03 11:55:54 +00:00
..
2026-02-24 09:29:39 -06:00