Last 12 weeks · 0 commits
2 of 6 standards met
Summary Extract inline source maps from transpiled code and expose them as a new field on The decoded JSON source map is extracted from the comment that Deno's emitter already generates The field is unchanged (inline comment preserved) for backward compatibility Fixes the source map gap identified in https://github.com/denoland/deno-vite-plugin/pull/92, enabling bundler plugins to pass source maps to their host for proper dev-mode TypeScript debugging. Changes : Added helper and field to : Added crate for decoding inline source maps : Added to interface : New dedicated test suite (9 tests) covering: Source map returned for transpiled TypeScript Source map contains with original source No source map for plain JavaScript, JSON No source map when is set Source map for complex TypeScript (interfaces, classes) Valid JSON structure validation Inline comment preserved in code External specifier handling Updated existing tests (, , , Node.js integration) with source map assertions Test plan [x] All 23 existing + new tests pass () [x] Node.js integration test passes with source map assertions [ ] Verify with deno-vite-plugin PR #92 🤖 Generated with Claude Code
Repository: denoland/deno-js-loader. Description: Resolver and loader JSR package for Deno code. Stars: 28, Forks: 8. Primary language: Rust. Languages: Rust (51.3%), TypeScript (46.4%), JavaScript (2.3%). License: MIT. Homepage: https://jsr.io/@deno/loader Latest release: 0.3.14 (5mo ago). Open PRs: 1, open issues: 5. Last activity: 4mo ago. Community health: 50%. Top contributors: denobot, dsherret, bartlomieju, nestarz, lucacasonato, marvinhagemeister.