Skip to content
This repository was archived by the owner on Mar 12, 2023. It is now read-only.

olback/es6-css-minify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

51ef986 · Mar 12, 2023
Dec 6, 2019
Aug 13, 2019
Oct 8, 2019
Oct 8, 2019
Jul 17, 2018
Aug 7, 2019
Aug 5, 2019
Aug 7, 2019
Jan 9, 2020
Jul 26, 2018
Mar 12, 2023
Aug 7, 2019
Jul 18, 2018
Jan 26, 2022
Mar 12, 2023
Aug 6, 2019
Aug 6, 2019
Aug 5, 2019
Aug 7, 2019

Repository files navigation

Archived - Feel free to fork and upload to VSC Marketplace.

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, please consider donating.

OS Status
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 or CTRL+SHIFT+P.

Loading custom configs

By default the extension will look for .uglifyrc, .cleancssrc and .autoprefixerrc.
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).

The config parsed by the extension is just passed to terser, clean-css or autoprefixer. If the output is diffrent from what you expected, please confirm that the issue is with the extension and not terser, clean-css or autoprefixer before opening an issue.

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: