open-feature/js-sdk-contrib

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

开放

#1,055 创建于 2024年9月18日

 (2 条评论) (0 个反应) (1 位负责人)TypeScript (80 个派生)auto 404
enhancementgood first issue

仓库指标

星标
 (73 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南