open-feature/js-sdk-contrib

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

Aberta

#1.055 aberto em 18 de set. de 2024

 (2 comentários) (0 reação) (1 responsável)TypeScript (80 forks)auto 404
enhancementgood first issue

Métricas do repositório

Stars
 (73 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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.

Guia do colaborador