As of now, there are some available extensions: for example Minify or JS & CSS Minifier
Note: You can find extensions on the VS Code Marketplace.
Or directly from VS Code by searching from the Extensions pane, on the left side (Ctrl + Shift + X).
Answer from Supersharp on Stack Overflowhow to minify JavaScript file in Visual Studio Code - Stack Overflow
Is there an extension to minify a selection? Not an entire file, just what I have selected.
Is there a minifier plugin that also works with HTML files?
Are you setting your build up through vscode and not using something like webpack/parcel/gulp?
More on reddit.comMinify JS with VS code extension - javascript
Videos
As of now, there are some available extensions: for example Minify or JS & CSS Minifier
Note: You can find extensions on the VS Code Marketplace.
Or directly from VS Code by searching from the Extensions pane, on the left side (Ctrl + Shift + X).
Search for Visual Studio Code Minify Plugins on Google. There are plenty. For example, this, and this.
Surprised there's not one in the marketplace that I can find... There's "minify" but it no longer works.
Anything else?
