microsoft / microsoft/monaco-editor
[Feature Request] Parcel builds monaco-editor with all languages supported out of the box - limiting feature
Open
Nobody has claimed this yet.
feature-request
- Dominant language
- JavaScript
- Stars
- 46.8k
- Forks
- 4.1k
- Avg merge
- 17h 58m
- Merged PRs (30d)
- 1
Description
Context
- This issue is not a bug report. (please use a different template for reporting a bug)
- This issue is not a duplicate of an existing issue. (please use the search to find existing issues)
Description
When project using monaco-editor is built with Parcel bundler, all the languages get bundled no matter if they are needed or not.
It would be great to have a way to limit that(parcel-monaco-plugin?) or have example how to limit it in any way.
Monaco Editor Playground Link
No response
Monaco Editor Playground Code
No response
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 reproducing a Parcel build that includes monaco-editor and inspect which language modules are bundled. The work is done when users have a supported way to include only selected languages, either through a plugin or documented configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- build-system, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100