Skip to content

Tiny starter kit to take advantage of Webpack & Yarn building a simple React/Redux app

License

Notifications You must be signed in to change notification settings

Pygocentrus/webpack-react-es7-yarn-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webpack-React-ES7-Yarn starter kit

Tiny boilerplate to take advantage of Webpack to build a simple React/Redux app.

Getting started

To use it, simply run the following commands:

$ git clone git@github.com:Pygocentrus/webpack-react-es7-yarn-starter.git && cd webpack-react-es7-yarn
$ rm -rf .git
$ yarn # install dependencies
$ npm run serve # starts a dev server on port 3000
$ npm run build # builds the app statically

Notes

The app builds an external vendor.js file that contains every lib defined in the package.json's dependencies section. It makes the bundle build time much faster.

Therefore, if you need to add a vendor, simply add it as a dependency to your project and restart webpack.

--

Made with ♥ in Paris, France

About

Tiny starter kit to take advantage of Webpack & Yarn building a simple React/Redux app

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published