Explaining Tree Shaking in JavaScript

In this post I will talk about how to apply Tree Shaking to JavaScript code.

Similar

Evaluating JavaScript Code via Import()

The import() operator lets us dynamically load ECMAScript modules. But they can also be used to evaluate JavaScript code (as Andrea Giammarchi recently pointed out to me), as an alternative to eval(). This blog post explains how that works. (more…)

Read more »

Using Rollup.js to create JavaScript modules

Using Rollup.JS to create JS modules and libraries is easy, it can easily output AMD, CJS, ES, IIFE and UMD JS formats with minimal configuration. Its plugin structure really nice too, you should find nearly anything you need here. This blog will focus on... (more…)

Read more »