You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: keep loro-crdt sourcemap sources inside the package (#947) (#987)
Rewrite rollup output `sources` so they resolve inside the published
package and embed `sourcesContent`, removing the Vite/Vitest "source
file outside its package" warning users see for loro-crdt.
Co-authored-by: Zixuan Chen <zx@loro.dev>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Fix published sourcemap `sources` pointing outside the package. The rollup TypeScript plugin's emitted maps were resolved by rollup against the `.ts` source directory, leaving `../../index.ts` in the published `sources`. Vite/Vitest warned about source files escaping the package. The sourcemap now resolves inside the package and `sourcesContent` is included so debuggers don't need to fetch the TypeScript source.
0 commit comments