Closure Compiler (15 Articles)

lit-html with the Closure Compiler

In this post I show how to combine lit-html with the Closure compiler to get smaller, more performant JavaScript bundles.

Torgeir Helgevold
The Closure Compiler and Svelte

This article is a summary of a poc I ran this weekend where I used the Closure compiler to bundle a medium sized Svelte application.

Torgeir Helgevold
Closure Compiler and Http Requests

In this post I will show how to make external API responses compatible with Closure compiled code.

Torgeir Helgevold
Integrating NgRx with the Closure Compiler

In this post I will show how to integrate a simple ngrx sample with the Closure compiler.

Torgeir Helgevold
Combining Prepack and Closure Compiler

In this post I want to test if there is any benefit to combining Prepack with the Closure compiler (ADVANCED_OPTIMIZATIONS).

Torgeir Helgevold
NgUpgrade with Closure Compiler

In this post I will talk about integrating the Closure compiler with an NgUpgrade application.

Torgeir Helgevold
Using MomentJs with Angular and the Closure compiler

In the following post I will show how to use momentJS in a closure compiled Angular application.

Torgeir Helgevold
Measuring JavaScript performance – Closure Compiler vs Webpack

In this post I will show how to use webpagetest.org to collect performance metrics for a web application.

Torgeir Helgevold
Closure Compiler vs Rollup vs Webpack

I have migrated my demo application to use the Closure compiler for bundling. In this post I will do a quick comparison of bundle sizes between Closure, Rollup and Webpack.

Torgeir Helgevold
Closure Compiler vs UglifyJS

In this post I will do a quick comparison between the Closure Compiler and UglifyJS2.

Torgeir Helgevold
Closure Compiler and Types

In this post I will show to take advantage of the Closure Compiler's comprehensive typings annotations.

Torgeir Helgevold
Combining ES2015 modules and CommonJS modules using the Closure Compiler

In this post I will show how to combine ES2015 and CommonJS modules in the same bundle using the Closure Compiler.

Torgeir Helgevold
Migrating my Angular demo to use the Closure compiler

Now that the Closure compiler is closer to becoming a viable option in Angular, I have decided to start migrating my Angular demo components to use it. I will give you updates on my progress as I continue to work on the migration.

Torgeir Helgevold
Lazy Loading with the Closure Compiler

In the following post I will show how to do code splitting with the Closure compiler.

Torgeir Helgevold
Using the Closure Compiler - ADVANCED_OPTIMIZATIONS

The Closure compiler is an amazing tool for optimizing JavaScript. In this post I will show how to use it in some common scenarios. For the purposes of this post I will be using the closure compiler with ADVANCED_OPTIMIZATIONS.

Torgeir Helgevold

Talks I've Given