JS & CSS Minifier
If you found this extension useful and want to support further development, please consider join us.
[Help wanted : email@example.com]
Minify button should appear in the status bar when opening a
.js or a
.css file. You can also run
Minify: Document by clicking
Now ! you can right-click the [js/css]file to compress it, OR , You can right-click the folder to compress [js/css] files .
Loading custom configs
By default the extension will look for
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