Skip to content
Easily minify CSS and JavaScript in VS Code
Branch: 2.0
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE
.vscode new tests Nov 21, 2018
src remove console.log Mar 22, 2019
.gitattributes Initial TS Commit Jul 17, 2018
.gitignore
.travis.yml
.vscodeignore
CHANGELOG.md
LICENSE.md auto reload config, github issue templates Jul 26, 2018
README.md
appveyor.yml Use node 8 for tests Oct 14, 2018
icon.png release? Jul 18, 2018
package-lock.json
package.json
tsconfig.json more test things Jul 23, 2018
tslint.json

README.md

JS & CSS Minifier

Visual Studio Marketplace rating Visual Studio Marketplace GitHub package version

If you found this extension useful and want to support further development, you can donate a small amount.

Linux / MacOS: Build Status

Windows: Build status

A simple Javascript & CSS minifier.
A Minify button should appear in the status bar when opening a .js or a .css file. You can also run Minify document by clicking F1.

Loading custom configs

By default the extension will look for .uglifyrc and .cleancssrc.
You can change the paths in settings. After changing settings in any of the config files, make sure to reload with Minify: Reload config. If the reload fails, make sure you don't have syntax errors in your config. If you want to go back to the default config, rename/delete your config file(s).

Minify on save, disabled by default!

Minify on save can be enabled in settings.

Generate source maps

Source maps can be generated by changing es6-css-minify.genCSSmap and es6-css-minify.genJSmap respectively.

Dependencies:

You can’t perform that action at this time.