Skip to content
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

fix(datastore): Fix bundle size regression caused by lodash import changes #20441

Merged

Conversation

scottn12
Copy link
Contributor

@scottn12 scottn12 commented Apr 3, 2024

Cherry pick from 3aa12dd

This PR fixes the bundle size regression that was caused by the changes in the lodash import syntax.

The syntax was initially changed to accommodate the new node 16 module resolution (#18826). The syntax it was changed to caused the entire lodash library to be loaded. This PR fixes this by replacing cloneDeep with structuredClone.

…anges (microsoft#20421)

This PR fixes the bundle size regression that was caused by the changes
in the lodash import syntax.

The syntax was initially changed to accommodate the new node 16 module
resolution (microsoft#18826). The
syntax it was changed to caused the entire lodash library to be loaded.
This PR fixes this by replacing cloneDeep with structuredClone
@msfluid-bot
Copy link
Collaborator

Could not find a usable baseline build with search starting at CI eeaea1c

Generated by 🚫 dangerJS against 2aba8d5

@scottn12 scottn12 marked this pull request as ready for review April 3, 2024 21:41
@scottn12 scottn12 enabled auto-merge (squash) April 3, 2024 21:42
@scottn12 scottn12 merged commit 665a6d5 into microsoft:release/client/2.0.0-rc.2.0 Apr 3, 2024
28 checks passed
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

Successfully merging this pull request may close these issues.

None yet

3 participants