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
Since rollup.config.esm.js is configuring "external" as the full lodash library but imports are including specific modules, this config is not taking effect and Rollup is including a large ammount of lodash code in the ESM bundle.
Fixing this configuration reduces bundle size to less than a half, so I think is something good to include. I'll be happy to include this optimization in my projects.
The text was updated successfully, but these errors were encountered:
DavidEspinola
changed the title
Rollup is including lodash code inside the ESM build
Rollup is including lodash code inside the ESM build. Fixes #541
Aug 12, 2020
DavidEspinola
changed the title
Rollup is including lodash code inside the ESM build. Fixes #541
Rollup is including lodash code inside the ESM build
Aug 12, 2020
Since rollup.config.esm.js is configuring "external" as the full lodash library but imports are including specific modules, this config is not taking effect and Rollup is including a large ammount of lodash code in the ESM bundle.
Fixing this configuration reduces bundle size to less than a half, so I think is something good to include. I'll be happy to include this optimization in my projects.
The text was updated successfully, but these errors were encountered: