Vue-cli: Vue CLI should use parcel instead of webpack

Created on 5 Jul 2019  ·  4Comments  ·  Source: vuejs/vue-cli

What problem does this feature solve?

Webpack is complex and slow, Parcel is simple and fast. Parcel seems much more aligned with the Vue.js philosophy. I'm using it right now without Vue cli. But for the sake of newcomers, I suggest we give them the best in official tooling.

What does the proposed API look like?

It would be the same as the current api.

Most helpful comment

Hm, looks like they are actually working on this already:
https://github.com/parcel-bundler/parcel/issues/2574

I just think that parcel better matches the philosophy of Vue.js which is simplicity, speed, and doing things because they make sense, not just because everybody else is doing it that way.

All 4 comments

I think Webpack is the most mature bundler available, and it's getting faster and simpler to use every release.

If you can come up with a prototype that supports all the things vue-cli-service does, go ahead and publish it as vue-cli-service-parcel or something for us to test out, or write an RFC for it.

If it's not possible to do all of these things with parcel (which I would assume), we stick with webpack for now.

I also see on the Internet some benchmarks showing webpack as being faster than parcel 🤷‍♂️

Hm, looks like they are actually working on this already:
https://github.com/parcel-bundler/parcel/issues/2574

I just think that parcel better matches the philosophy of Vue.js which is simplicity, speed, and doing things because they make sense, not just because everybody else is doing it that way.

Was this page helpful?
0 / 5 - 0 ratings