HookyQR / VSCodeMinify

Add minify function to VSCode 0.10+
53 stars 20 forks source link

Extension host crashes on minify 0.4.0 #35

Closed Eupeodes closed 5 years ago

Eupeodes commented 5 years ago

With 0.4.0 the extension host crashes every time I try to minify my js files. Content of js file doesn't matter (I even tried with a simple "console.log('Hello world')" and got the crash. 0.3.0 works fine I am using visual studio code 1.32.3 on Windows 10 Pro 1809.

As temporary fix I reverted the extension to 0.3.0 and disable auto update of extensions.

Update: it seems it is caused by having the default settings as listed on in the extension page all in the settings.json of the project, as soon as I remove that block minify works.

HookyQR commented 5 years ago

Ah, some of the settings listed there are invalid now because of the move from uglify to terser. Will update the readme.

The offenders are cascade (removed) and bracketize becomes braces.

HookyQR commented 5 years ago

0.4.1 published.