All Projects → kristerkari → Awesome Bundle Size

kristerkari / Awesome Bundle Size

Licence: cc0-1.0
📝 An awesome list of tools and techniques to make your web bundle size smaller and your web apps load faster.

Projects that are alternatives of or similar to Awesome Bundle Size

That React App You Want
That react app you always wanted: [email protected], [email protected], postCSS, purifycss, dll's and code splitting examples, bregh. Highly opinionated but you better like it.
Stars: ✭ 27 (-77.12%)
Mutual labels:  webpack, tree-shaking, code-splitting
Bundle Buddy Webpack Plugin
🐐🐐🐐🐐 bundle-buddy-webpack-plugin 🐐🐐🐐🐐
Stars: ✭ 199 (+68.64%)
Mutual labels:  webpack, performance, code-splitting
Webpack Common Shake
CommonJS Tree Shaker plugin for WebPack
Stars: ✭ 875 (+641.53%)
Mutual labels:  webpack, tree-shaking
Budgeting
Budgeting - React + Redux + Webpack (tree shaking) Sample App
Stars: ✭ 971 (+722.88%)
Mutual labels:  webpack, tree-shaking
Redux Json Router
Declarative, Redux-first routing for React/Redux browser applications.
Stars: ✭ 37 (-68.64%)
Mutual labels:  webpack, code-splitting
React Imported Component
✂️📦Bundler-independent solution for SSR-friendly code-splitting
Stars: ✭ 525 (+344.92%)
Mutual labels:  webpack, code-splitting
Loadable Components
The recommended Code Splitting library for React ✂️✨
Stars: ✭ 6,194 (+5149.15%)
Mutual labels:  webpack, code-splitting
Express React Boilerplate
🚀🚀🚀 This is a tool that helps programmers create Express & React projects easily base on react-cool-starter.
Stars: ✭ 32 (-72.88%)
Mutual labels:  webpack, code-splitting
React Boilerplate
Production-ready boilerplate for building universal web apps with React and Redux
Stars: ✭ 53 (-55.08%)
Mutual labels:  webpack, code-splitting
Serverless Plugin Webpack
Serverless Plugin Webpack
Stars: ✭ 72 (-38.98%)
Mutual labels:  webpack, tree-shaking
Fast Uglifyjs Plugin
hight performance uglify plugin for webpack
Stars: ✭ 72 (-38.98%)
Mutual labels:  webpack, performance
Happypack
Happiness in the form of faster webpack build times.
Stars: ✭ 4,232 (+3486.44%)
Mutual labels:  webpack, performance
React Router Server
Server Side Rendering library for React Router v4.
Stars: ✭ 443 (+275.42%)
Mutual labels:  webpack, code-splitting
Bundlephobia
🏋️ Find out the cost of adding a new frontend dependency to your project
Stars: ✭ 6,640 (+5527.12%)
Mutual labels:  webpack, performance
Vueniverse
Full stack, user based, PWA, Vue template.
Stars: ✭ 339 (+187.29%)
Mutual labels:  webpack, code-splitting
React Dynamic Route Loading Es6
Auto chunking and dynamic loading of routes with React Router and Webpack 2
Stars: ✭ 297 (+151.69%)
Mutual labels:  webpack, tree-shaking
Webpack Core Usage
webpack2完整系列课程,欢迎阅读。同时欢迎移步我的react全家桶文章全集: https://github.com/liangklfangl/react-article-bucket
Stars: ✭ 94 (-20.34%)
Mutual labels:  webpack, tree-shaking
React Loadable
⏳ A higher order component for loading components with promises.
Stars: ✭ 16,238 (+13661.02%)
Mutual labels:  webpack, code-splitting
Webpack Libs Optimizations
Using a library in your webpack project? Here’s how to optimize it
Stars: ✭ 3,187 (+2600.85%)
Mutual labels:  webpack, performance
Import Cost
displays the import size of the package you are importing inside the code editor
Stars: ✭ 1,021 (+765.25%)
Mutual labels:  webpack, performance

Awesome Bundle Size Awesome

An awesome list of tools and techniques to make your web bundle size smaller and your web apps load faster.

Contents

Concepts

Code Splitting

Code-splitting your app can help you “lazy-load” just the things that are currently needed by the user, which can dramatically improve the performance of your app. While you haven’t reduced the overall amount of code in your app, you’ve avoided loading code that the user may never need, and reduced the amount of code needed during the initial load.

Source: https://reactjs.org/docs/code-splitting.html

Tree Shaking

Tree shaking is a term commonly used in the JavaScript context for dead-code elimination. It relies on the static structure of ES2015 module syntax, i.e. import and export. The name and concept have been popularized by the ES2015 module bundler rollup.

Source: https://webpack.js.org/guides/tree-shaking

Tools to analyze bundle size

General

Webpack

  • Webpack Bundle Analyzer - Webpack plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap.
  • Webpack Bundle Size Analyzer - A tool for finding out what contributes to the size of Webpack bundles.
  • size-plugin - Track compressed Webpack asset sizes over time.
  • Webpack Monitor - A tool for monitoring webpack optimization metrics through the development process.
  • Bundle optimize helper - A tool that will analyze your bundle and give you actionable suggestions on what to improve to reduce your bundle size.

Tools to analyze the cost of imports

  • bundlephobia - Find out the cost of adding a new frontend dependency to your project.
  • Import Cost - Displays the import size of the package you are importing inside the code editor.

Tools to help with Code Splitting

  • Bundle Buddy - A tool to identify bundle duplication across splits.

Bundle size optimization guides

CSS

Lodash

Tree Shaking

Using multiple techniques

Webpack

You Don't Need X

Code Splitting

Code Splitting guides

Documentation for bundlers and libraries

Videos and talks

Bundle size

Code Splitting

Tree Shaking

Webpack

License

CC0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].