open-feature/js-sdk-contrib

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

Aperta

#1055 aperta il 18 set 2024

 (2 commenti) (0 reazioni) (1 assegnatario)TypeScript (80 fork)auto 404
enhancementgood first issue

Metriche repository

Star
 (73 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor