DEV Community

loading...

Discussion on: [COMPARISON] Webpack or Parcel, which one is better?

Collapse
tkdmzq profile image
TKDMzq

My conclusion after reading this:
One thing that parcel lacks is configuration.

Collapse
adnanbabakan profile image
Adnan Babakan (he/him) Author

Hahaha
Yes. It can both be a poditive point and a negative one.

Collapse
khrome83 profile image
Zane Milakovic

That is actually by design.

I don’t think it’s a fair comparison, webpack vs parcel.

You would not bundle sever files with parcel for example.

I think a better comparison would be webpack vs rollup.

Parcel is really designed to be config free and for smaller projects. The “configuration” of parcel really comes from the fact you directly include the files you need within the entry point as if they worked native. For example linking to a typescript file instead of a js file.

Reading people saying webpack is easier is hilarious. It’s the difference between configuration over convention. The convention needs to be learned, but it’s soooo simple. Where as webpack has a much larger surface area. If you want the control, that is fine.

There should be enough space for either technology. It’s not a winner take all situation.

Collapse
adnanbabakan profile image
Adnan Babakan (he/him) Author

Hi
Thanks for your comment
I appreciate your opinion, though I think the comparison between Webpack and Parcel is pretty fair since they claim the same idea.
But Webpack being easy is kinda a joke.

Thread Thread
khrome83 profile image
Zane Milakovic

Yep, they are a bundle, but from a very different perspective.

I mean you can use grunt and gulp to bundle. Bundling isn’t unique or even that modern. It’s been around for a while.

I just mean that in “how” they bundle and the concepts, webpack and rollup are more equivalent.

Parcel was built out of the frustrations of webpack if I am not mistaken to make it simpler for many front end projects.