This is created as a learning journey of Webpack 4 with recommended configs from the official documentation and blog posts listed below. This will always be work in progress as I will keep learning more optimized configs and recommended setups. This is also created with libraries I often use for any React/GraphQL project.
- React
- React Router
- Apollo client 2
- Webpack 4
- React-loadable
- styled-components
- babel-preset-stage-2
- babel-polyfill for async/await
- Hot reload
- Dynamic import (components and routes)
- Code splitting
- npm install (yarn install)
- npm start (yarn start)