rolandtoth / es6-css-minify

Easily minify CSS and JavaScript in VS Code

Home Page:https://marketplace.visualstudio.com/items?itemName=olback.es6-css-minify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JS & CSS Minifier

Please read the changelog!

Visual Studio Marketplace rating Visual Studio Marketplace GitHub package version 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.
Make sure to reload your config with Minify: Reload config to make sure your changes are applied!

Generate source maps

Source maps can be generated by changing es6-css-minify.genCSSmap and es6-css-minify.genJSmap respectively. Make sure to run Minify: Reload config.

Dependencies:

About

Easily minify CSS and JavaScript in VS Code

https://marketplace.visualstudio.com/items?itemName=olback.es6-css-minify

License:MIT License


Languages

Language:TypeScript 94.7%Language:JavaScript 4.7%Language:CSS 0.6%