mirror of
https://github.com/cloudflare/vinext.git
synced 2026-09-14 19:04:59 +08:00
12c747f686
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.