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

Distributable JS file #357

Open
njt1982 opened this issue Jan 18, 2023 · 0 comments
Open

Distributable JS file #357

njt1982 opened this issue Jan 18, 2023 · 0 comments

Comments

@njt1982
Copy link

njt1982 commented Jan 18, 2023

Hi,

This is related to #352 - it doesn't look like your build change generates a distributable JS file for use directly on the web?

You seem to have to include this as part of an existing build chain and have something compile it out.

I've tried building it into a packes JS file using JSDelivr, but I'm getting errors about export in the console:
https://cdn.jsdelivr.net/combine/npm/@textcomplete/[email protected],npm/@textcomplete/[email protected],npm/@textcomplete/[email protected]

This indicates the minified JS is being built to CommonJS rather than ES?

Similarly to #352, it would be nice if there was a top level package which included all of your subpackages and could just be loaded without needing to build the output JS... :)

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

No branches or pull requests

2 participants