menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

Parcel

📦🚀 Blazing fast, zero configuration web application bundler

Channels
Team

Parcel 2 RFC! 🔥

August 29, 2018 at 2:15pm

Parcel 2 RFC! 🔥

August 29, 2018 at 2:15pm (Edited 4 years ago)
In case you didn't already see it, we just published the Parcel 2 RFC yesterday on Github. Check it out and give us your feedback. We have already started implementing some of it in our hackathon a couple weeks ago, and we have another hackathon scheduled already. I'm really excited about the possibilities Parcel 2 will enable!
Main features:
  • Entirely new plugin system - Parcel 2 will be much more extensible, including support for many different kinds of plugins: resolvers, transformers, bundlers, loaders, packagers, optimizers, etc.
  • Optionally configurable - Parcel 2 will support an entirely optional .parcelrc file to allow more control over defining transform pipelines and more. Tool specific configuration will still live there, e.g. .babelrc. Out of the box, Parcel 2 will support the same zero configuration experience we have today, but when you need it, you will be able to extend it.
  • Multi-target builds - You will be able to build for multiple targets simultaneously, e.g. node and browsers, or modern browsers + legacy browsers, etc. This will make it really easy to ship less code to production for most users.
  • Even more scalable - Parcel 2 will be even more scalable for even larger apps. We will no longer need to store all of your assets in memory, they will be cached and loaded on demand in workers. In addition, Packagers will run in parallel just like file transforms do today, and the cache will store intermediate steps in a pipeline for even faster multi-part rebuilds (e.g. Vue files).
  • Automatic code splitting - bundler plugins will allow experimentation with algorithmic code splitting. No more manually defining split points, we will let the machines do that for us. Should lead to much smaller bundles being shipped to production with much less work.

September 1, 2018 at 7:42pm
Parcel let me get started with React. I am excited for this. I learnt webpack after parcel, before that I tried but it was daunting because of so much information available. Can't wait to try algorithmic code splitting.
like-fill
1
Thankful for Parcel, I love how simple it is to start developing with it 🔥.
One of my projects on github, I've been using it with parcel-js
I will try to couple it to parcel 2

September 5, 2018 at 9:04pm
I am attempting to use a plugin called `parcel-plugin-sw-cache`. I can see from the RFC that they will need to rename this. I am concerned that this plugin wants me to configure it in my package.json. I don't much care for adding a bunch of stuff to my package.json. Is there some other way to accomplish this? Maybe in the .parcelrc?
My concern is due to having used Webpack a lot and seeing the configuration of plugins get really out of hand

September 10, 2018 at 11:48am
I'm looking forward to version 2.0!!!