Skip to content

This sample shows the result of reducing the bundle size by webpack's Tree Shaking and babel-plugin-lodash.

Notifications You must be signed in to change notification settings

ucho/reduce-bundle-size-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reduce Bundle Size Sample

This sample shows the result of reducing the bundle size by webpack's Tree Shaking and babel-plugin-lodash.

Results

pattern command bundle Size
normal webpack 403KB
tree-shaking webpack --env=tree-shaking 402KB
lodash webpack --env=lodash 250KB
tree-shaking + lodash webpack --env=tree-shaking+lodash 249KB

Version

  • webpack: 2.2.1
  • babel-core: 6.23.1
  • babel-preset-es2015: 6.22.0
  • babel-plugin-lodash: 3.2.11

LICENSE

MIT

About

This sample shows the result of reducing the bundle size by webpack's Tree Shaking and babel-plugin-lodash.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published