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

Provide bundled builds of web providers that can be referenced via a script HTML tag #1055

Open
adams85 opened this issue Sep 18, 2024 · 2 comments
Assignees

Comments

@adams85
Copy link
Contributor

adams85 commented Sep 18, 2024

Currently, web providers like config-cat-web-provider don't include a build that can be referenced in browsers directly, via a <script> HTML tag. At least to my knowledge, it's not possible to use CJS or ESM modules with NPM import specifiers without a significant amount of extra effort.

So, I suggest adding UMD and/or ESM bundles that are prepared for this use case.

@adams85 adams85 changed the title Provide bundled builds of web providers that can be directly referenced via a script HTML tag Provide bundled builds of web providers that can be referenced via a script HTML tag Sep 18, 2024
@lukas-reining lukas-reining reopened this Sep 27, 2024
@lukas-reining
Copy link
Member

This makes sense to me!
@toddbaert @beeme1mr do you have any opinion on this?

@lukas-reining lukas-reining self-assigned this Sep 27, 2024
@beeme1mr
Copy link
Member

It's worth a shot.

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

3 participants