Replies: 1 comment 4 replies
-
That only works with ES6 modules and Parcel only runs Babel on your source code, not on
But doesn't it say something like
You could build with With Parcel 2, you could use https://bundle-buddy.com/. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to optimize main bundle size and I have duplication of lodash in it.
It costs about 200kb in total and duplicated twice. I've found
babel-plugin-lodash
which seems to be doing the job, however it doesn't work together with Parcel.Is there a way to make it work with Parcel?
Also, is there a way to determine what third party library is bundling lodash twice? I use,
parcel-plugin-bundle-visualiser
, it is nice to see overall picture, but it only shows that lodash was loaded twice and not the origin (from what third party package it is coming from).Beta Was this translation helpful? Give feedback.
All reactions