Closure Compiler
Closure Compiler


Add tool

What is Closure Compiler?

The Closure Compiler is a tool for making JavaScript download and run faster. It is a true compiler for JavaScript. Instead of compiling from a source language to machine code, it compiles from JavaScript to better JavaScript. It parses your JavaScript, analyzes it, removes dead code and rewrites and minimizes what's left. It also checks syntax, variable references, and types, and warns about common JavaScript pitfalls.

What is Webpack?

A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows to load parts for the application on demand. Through "loaders" modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.

Want advice about which of these to choose?Ask the StackShare community!

Why do developers choose Closure Compiler?
Why do developers choose Webpack?
What are the cons of using Closure Compiler?
What are the cons of using Webpack?
Be the first to leave a con
What companies use Closure Compiler?
What companies use Webpack?
What are some alternatives to Closure Compiler and Webpack?
Build system automating tasks: minification and copying of all JavaScript files, static images. More capable of watching files to automatically rerun the task when a file changes.
Babel will turn your ES6+ code into ES5 friendly code, so you can start using it right now without waiting for browser support.
Parcel is a web application bundler, differentiated by its developer experience. It offers blazing fast performance utilizing multicore processing, and requires zero configuration.
Browserify lets you require('modules') in the browser by bundling up all of your dependencies.
The less work you have to do when performing repetitive tasks like minification, compilation, unit testing, linting, etc, the easier your job becomes. After you've configured it, a task runner can do most of that mundane work for you—and your team—with basically zero effort.
See all alternatives
What tools integrate with Closure Compiler?
What tools integrate with Webpack?
Decisions about Closure Compiler and Webpack
No stack decisions found
Interest over time
Reviews of Closure Compiler and Webpack
No reviews found
How developers use Closure Compiler and Webpack
Avatar of Volkan Özçelik
Volkan Özçelik uses WebpackWebpack

Webpack is the best bundler. Period.

Yes, it has a(n arguably) messy documentation, and a steep learning curve; but once you get the hang of it, there is nothing you cannot do with it.

Use it and you don’t have to use any other bundler at all.

It has a vivid ecosystem, and great plugin support.

Avatar of Alec Cunningham
Alec Cunningham uses WebpackWebpack

My preferred build tool; allows me to bundle my JSX, JS, CSS files for easy access and I can pass the bundle through my node server for server side rendering.

Avatar of Kent Steiner
Kent Steiner uses WebpackWebpack

Flexible building and compiling of source for browser consumption, mainly for JS, but experimenting a little with CSS (although I prefer StylusJS for CSS).

Avatar of Andrew Gatenby
Andrew Gatenby uses WebpackWebpack

We use this to optimise the delivery of the client-side for our revised Admin System, so it's able to be delivered to browsers as efficiently as possible.

Avatar of Cameron Drake
Cameron Drake uses WebpackWebpack

Webpack compiles files to bundles with source maps. Using Webpack you can use the latest features (ES6) and have it compiled to compliant js.

How much does Closure Compiler cost?
How much does Webpack cost?
Pricing unavailable
Pricing unavailable
News about Closure Compiler
More news