Option to disable reprinting
- Dominant language
- TypeScript
- Stars
- 5.3k
- Forks
- 363
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 3
Description
There should be an option that disables reprinting (and the initial cloning), since normally it's only needed when working without a sourcemaps capable client. For instance, when normally developing and checking on Chrome I don't really care if the generated sources are close to the original version or it's just a blob of minified code.
This would solve some of the performance issues (ie: https://github.com/benjamn/recast/pull/133) when using the library but still guarantee that if we want to generate a properly printed version it's just toggling a flag in the build system.
Contributor guide
No contributing guide indexed for this repository
Research direction
No file or test is named. Start by tracing where reprinting and initial cloning occur in the build system, and review the performance context in PR #133. Done means a build-time flag can disable both operations while preserving the existing properly printed output when enabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- build-system, performance
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100