Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slim Down Monaco Build #470

Open
dm-p opened this issue Jul 1, 2024 · 0 comments
Open

Slim Down Monaco Build #470

dm-p opened this issue Jul 1, 2024 · 0 comments
Labels
infrastructure Related to source code structure, or build processes
Milestone

Comments

@dm-p
Copy link
Member

dm-p commented Jul 1, 2024

We currently re-export Monaco editor as part of our current package. This is fine, but it includes a bunch of stuff we don't need and increases the size of the packaged visual. The webpack plugin allows you to remove things you don't need in a supported way, but as we use tsup, we don't have a similar convenient mechanism.

At the bare minimum, we could remove things like additional language support, as we only need JSON support. There may be some other things we can do here, but we'll need to see. Using webpack for the Monaco export may also be an option.

@dm-p dm-p added the infrastructure Related to source code structure, or build processes label Jul 1, 2024
@dm-p dm-p added this to the 1.8 milestone Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Related to source code structure, or build processes
Projects
None yet
Development

No branches or pull requests

1 participant