Commit Graph

1 Commits

Author SHA1 Message Date
Claude Bot
d9b046e76d Fix compact sourcemap to stay compact except for coverage analysis
- Update GetResult struct to use MappingsData union instead of extracting .list
- Add generated() method to MappingsData that returns empty array for compact format
- Fix toMapping to properly branch between coverage (full format) and non-coverage (compact)
- Remove pointless variable discards that caused compilation errors
- Error reporting now uses compact format and does on-demand VLQ decoding via find()

This ensures compact sourcemaps are only expanded to full format when coverage
analysis is enabled, providing memory savings for normal error reporting scenarios.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-13 06:26:44 +00:00