We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Summary
In version 9.6.0 lighthouse changed the imports of lodash to reduce bundle size #13914
However since then lighthouse has migrated from CommonJS to use ESM. This means it is now able to use the esm version of lodash which is lodash-es.
lodash
lodash-es
I am not sure the benefit to bundle size is that large, however since it is already using esm is it not better to use the esm version of the library?
Additionally when bundle lighthouse code with esbuild i end up with this type of additional and unnecessary wrappers in the code.
The text was updated successfully, but these errors were encountered:
Closed by #16211
Sorry, something went wrong.
paulirish
No branches or pull requests
Summary
In version 9.6.0 lighthouse changed the imports of lodash to reduce bundle size #13914
However since then lighthouse has migrated from CommonJS to use ESM. This means it is now able to use the esm version of
lodash
which islodash-es
.I am not sure the benefit to bundle size is that large, however since it is already using esm is it not better to use the esm version of the library?
Additionally when bundle lighthouse code with esbuild i end up with this type of additional and unnecessary wrappers in the code.
The text was updated successfully, but these errors were encountered: