Showcases react, react router and lazy loading with webpack
Enabled these plugins:
- "babel-plugin-transform-imports"
- "babel-plugin-transform-react-remove-prop-types
- PreloadWebpackPlugin
Reports are generated using webpack-bundle-analyser and bundle-buddy
To run bundle buddy yarn build && npx bundle-buddy dist/*.map
Run yarn check-size
Run storybook by calling yarn storybook
- https://developers.google.com/web/fundamentals/performance/webpack/use-long-term-caching
- https://developers.google.com/web/fundamentals/performance/optimizing-javascript/code-splitting/
- https://github.com/malchata/code-splitting-example
- Webpack optimizations
- Cost of javascript
- Tree shaking
