Skip to content

Two different versions of @optimizely/js-sdk-utils in final bundle #103

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
angel-rs opened this issue Feb 18, 2021 · 1 comment
Closed
Assignees

Comments

@angel-rs
Copy link

Hello!

I'm currently working improving load times of a web-app & noticed thanks to inspectpack that on the app final bundle there are two different versions of @optimizely/js-sdk-utils, 0.1.0 & 0.4.0

see the report here:

image

I could resolve it setting a resolution to always use 0.4.0, but not sure if safe? could lead to bad functioning of the library? Also would like for this library to not introduce duplicates (& increase bundlesize/loadtimes) since I like it & use it on various projects :)

What's a feasible solution? is there any reason in particular @optimizely/react-sdk is still using @optimizely/[email protected] ?

@zashraf1985
Copy link
Contributor

We just fixed this in @optimizely/react-sdk 2.8.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants