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

Distribute as an npm package #9

Open
miguelrk opened this issue Aug 10, 2021 · 0 comments
Open

Distribute as an npm package #9

miguelrk opened this issue Aug 10, 2021 · 0 comments

Comments

@miguelrk
Copy link

miguelrk commented Aug 10, 2021

Hey! First of all thanks for open-sourcing the Copenhagen editor, the web was in need of a lightweight alternative to Monaco and Copenhaguen just works great!

I believe that a much needed step in making this more accessible is to package the code as an npm package, so that it is easier to consume as a dependency. Publishing to npm will also automatically publish it to CDN serivces like skypack for importing with <script src="..."> directly. This would make the editor easier to get started with and I think would enhance the dev experience.

My use case is using it inside a Vue.js SPA. Is bundling as a npm package planned? Would there be interest in doing so? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant