You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Optimization to `@openfeature/core` package. Both server and web need
the node-js `Events` interfaces, but obviously only the web needs them
poly-filled (they come with node).
This PR:
- marks `events.js` as an external dep in `@openfeature/core` meaning it
won't be bundled there (see esbuild
[doc](https://esbuild.github.io/api/#external))
This means that now `@openfeature/core` no longer includes `events.js`
(an un-needed polyfill for the server). The bundling pictured below only
happens in the `dist/` of `@openfeature/web-sdk`, and no longer in
`@openfeature/core` :

I've tested both the server and web SDKs based on this change locally in
the js-contribs by running the e2e test suite.
Relates to: #616
Signed-off-by: Todd Baert <[email protected]>
0 commit comments