micooz / react-parcel-example

Minimum viable React app with Parcel Bundler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Parcel Example

A minimum viable React app with Parcel Bundler.

Getting started

Clone and install deps

git clone git@github.com:jaredpalmer/react-parcel-example.git
cd react-parcel-example
yarn 
yarn start

Then open http://localhost:1234 and edit index.js and press save. Parcel will automagically hot reload you files whenever you make changes.

Building for Production

npm run build

This will compile your JS and copy your index.html to the dist folder which you can deploy whereever as as a good ol' webpage.

Note: There is a bug in Parcel right now messing up minified builds with uglifyjs

About

Minimum viable React app with Parcel Bundler


Languages

Language:JavaScript 51.7%Language:HTML 44.7%Language:CSS 3.6%