microsoft / microsoft/azure-devops-node-api
Strip comments from JS files via `removeComments: true`
Open
Beginner friendly
Nobody has claimed this yet.
Area: NodeApi
triage
- Dominant language
- TypeScript
- Stars
- 502
- Forks
- 244
- Avg merge
- 2h 24m
- Merged PRs (30d)
- 2
Description
The JS files in this package are full of source comments that are already mirrored in the .d.ts files. It's just adding extra weight to node_modules for no reason. Can you enable 'removeComments' in the tsconfig?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the package's tsconfig and review its compiler options, especially the requested removeComments setting. Build the package and inspect the generated JavaScript and .d.ts output; done means source comments are absent from the JavaScript while declaration output remains available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- build-system
- Issue type
- Refactor
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 78/100