benjamn / benjamn/recast

consume sourcemap directive when parsing source code

Open
#128 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
5.3k
Forks
363
Avg merge
3d 8h
Merged PRs (30d)
3

Description

according to our conversation yesterday, if the sourcemap is base64 embeded in the source code, we should do this:
- extract it before calling esprima (for perf reasons)
- digest the sourcemap as the input sourcemap

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the source-parsing entry point and the call to esprima. Trace how embedded base64 sourcemaps are represented, then ensure the directive is consumed before parsing and the sourcemap is digested as the input sourcemap; add coverage for embedded sourcemap input if the existing test structure provides a suitable place.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.