Closed fkoeppling closed 4 years ago
Found out by testing that this markup keeps comments: Add a exclamation mark to the start tag of a comment-block. Works with multi-line and documentation comment blocks, but not with single-line comments.
/*! comment content */
/**! * comment content */
Apologies for opening this issue without proper testing beforehand. It wasn't this obvious to me. May this entry on Q&A help answering those wondering the same in the future.
Documentation for this extension is not particularly good. I don't blame you for opening an issue. Glad you figured it out though.
When minifying .js files, I'd like to keep important comments like licence information and other stuff. I've searched all documentation for your extension and the documentation of the dependencies but I'm unable to find an answer for this. I'd be very happy for more insight on this matter!
I'm using JS & CSS Minifier for VScode on Windows. Thanks in advance!