You are here |
markus.oberlehner.net | ||
| | | |
blog.anoff.io
|
|
| | | | Andreas' personal blog | |
| | | |
www.valentinog.com
|
|
| | | | Modern frontend tools like babel seem almost magical. What do they do really? | |
| | | |
dht.is
|
|
| | | | Background I was packaging up a website as a PWA (progressive web application) so that it could be used offline at a conference, and I wanted to have some analytics collected while offline. After a lot of searching, I came across Piwik Pro, a capable analytics package that specifically included capabilities for offline analytics tracking. Perfect! However, their code assumes that you are building your project using a framework with a packaging-based workflow. My project was simple, vanilla html and javascript. | |
| | | |
www.2ality.com
|
|
| | Rich Harris' module bundler Rollup popularized an important feature in the JavaScript world: tree-shaking, excluding unused exports from bundles. Rollup depends on the static structure of ES6 modules (imports and exports can't be changed at runtime) to detect which exports are unused. Tree-shaking for webpack is currently in beta. This blog post explains how it works. The project we are going to examine is on GitHub: tree-shaking-demo |