W
W
weranda2016-08-24 09:44:07
JavaScript
weranda, 2016-08-24 09:44:07

Why doesn't Sublime Text 3 minify JS with the Minify plugin?

Greetings
There is a JS file of almost 300 kb. There is Sublime Text 3 with the Minify plugin . There is an Atom code editor. ST3 works correctly when trying to minify a small file, but when minifying a large file, for example, the JQuery library, it gives an error and does not minify. Atom, on the other hand, minifies everything correctly, both large and small files. Plugin Minify for ST3 and reinstalled and did all the necessary settings, but in vain. 7b17b2257ef74b95b0ee50e86164bb25.pngMaybe someone has come across this problem and can suggest a solution.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Denis Bukreev, 2016-08-24
@denisbookreev

Don't be foolish and use project builders: gulp, grunt, etc.

N
nd0ut, 2016-08-24
@nd0ut

In theory, an error should be written in the sublime console. Minify uses uglifyjs under the hood and it would be easier to use it directly.

P
Pavel Belyaev, 2019-03-20
@PavelBelyaev

The minify documentation describes in detail what needs to be done - install nodejs, install a bunch of utilities like uglify cssclean and more, check that these utilities work from cmd / powershell, then you still need to restart sublime so that the environment variables are set, I set up https using this instruction: //tech-research.ru/sublime-text-3-minifikats...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question