Show HN: Create-React-app-parcel, a CLI for Creating React Apps with Parcel
github.com
github.com
Here's the feature list from the README:
Preconfigured Features that come with your Parcel setup:
* [babel-preset-react-app](https://github.com/facebook/create-react-app/tree/next/packa...) so you can use the exact same JS features that come with create-react-app (eg public class fields)
* improved `App.js` to show off the babel preset features (click on the React logo!)
* serviceWorker available but off by default (similar to the coming create-react-app 2.0 setup)
* [preconfigured build setup](https://github.com/sw-yx/create-react-app-parcel/blob/master...) based on the [ParcelJS API](https://parceljs.org/api.html)
* nice eject experience that doesnt saddle you with a million webpack plugins
* as far as possible, same DX as create-react-app (eg checks if you use `yarn` or `npm`, environment variables all the same)
I have not done any benchmarks and don't really want to talk about speed because its bikeshedding imo. I just like using things with good defaults so I made this for myself.
Happy to answer questions, and take suggestions. Cheers!
I've been using Parcel for a couple of weeks now (Vue) and there are definitely some rough edges to it - but overall it's been far less cumbersome than Webpack. There are a couple sticky bugs with PostCSS imports, and the fact that you seemingly cannot do inline background-images currently (parser doesn't seem to be able to pick them out for the repathing) is a bit of a killer. But it seems like the team has some good velocity so hopeful things get worked out.