Skip to content

Commit

Permalink
update readme and packages
Browse files Browse the repository at this point in the history
  • Loading branch information
sonicoder86 committed May 1, 2017
1 parent eb6f77a commit 9915bbe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -27,11 +27,11 @@
"dependencies": {},
"devDependencies": {
"babel-core": "~6.24.1",
"babel-loader": "~6.4.1",
"babel-loader": "~7.0.0",
"babel-preset-env": "~1.4.0",
"babili": "~0.0.12",
"babili-webpack-plugin": "~0.0.11",
"http-server": "~0.9.0",
"http-server": "~0.10.0",
"webpack": "~2.4.1"
}
}
3 changes: 3 additions & 0 deletions readme.md
Expand Up @@ -11,6 +11,9 @@ The built and transpiled files can be found in the ```/dist``` folder.
Webpack only marks unused code at bundling and leaves the removing part to minifiers.
This is why all the code is included in development builds in contrary to Rollup.

If you want a more detailed explanation,
[read this article](https://blog.craftlab.hu/how-to-do-proper-tree-shaking-in-webpack-2-e27852af8b21).

### Webpack + Babel + UglifyJS

Can only remove unused functions and variables.
Expand Down

0 comments on commit 9915bbe

Please sign in to comment.