Skip to content

Latest commit

 

History

History

browser-webpack

uuid example Browser with Webpack

npm install
npm start

Then navigate to example-*.html.

The example-v{1,4}.js demonstrate that treeshaking works as expected (webpack output below):

 Asset      Size  Chunks             Chunk Names
all.js  8.54 KiB       0  [emitted]  all
 v1.js   2.6 KiB       1  [emitted]  v1
 v4.js     2 KiB       2  [emitted]  v4