open-feature/js-sdk-contrib

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

Open

#1,055 opened on Sep 18, 2024

 (2 comments) (0 reactions) (1 assignee)TypeScript (80 forks)auto 404
enhancementgood first issue

Repository metrics

Stars
 (73 stars)
PR merge metrics
 (PR metrics pending)

Description

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.

Contributor guide