-5

I want to minify my existing javascript code and I want to achieve something like what we do for css preprocessors. We write in scss file and it gets converted into .css file on its own when the scss file is saved. Similary I want to achieve if I write in js file and save it ,the code gets minified and gets saved in minified file on its own.

Is there any way to achieve this kind of functionality ?

Nishant Kumar
  • 81
  • 1
  • 7

1 Answers1

0

If you are using Atom, you need this package:

If you are using Sublime, you need this package:

Both packages can minify on save!

Axel
  • 4,365
  • 11
  • 63
  • 122