0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/packages/react-start-plugin/src
Paul Grau 051e2d5efa
fix: transform should return null to preserve source maps. Fixes #3661 (#3663)
Fixes #3661

I tested this in my own codebase. With this change, the warnings are
gone.

Rollup plugin docs specifically say that you should return `null` if you
didn't transform anything. Vite follows rollup's API.
History 2025-03-05 18:07:40 +01:00
..
compilers.ts refactor(react-start): move start packages to react-start (#3563) 2025-02-25 22:05:25 +01:00
index.ts fix: transform should return null to preserve source maps. Fixes #3661 (#3663) 2025-03-05 18:07:40 +01:00