Open JacksonChen666 opened 2 years ago
Single line comments (like below) in php
// a single line comment nextStatement();
gets minified without being manipulated and turn into
breaking the rest of the PHP file.
Screenshot (224kb) (left side is not minified, and the right side is minified but with changes that break the PHP file due to single line comments)
Original PHP file (external)
A workaround for not letting comments break the rest of the file is to use /* multi-line (or 'C' style) comments instead */
/* multi-line (or 'C' style) comments instead */
Single line comments (like below) in php
gets minified without being manipulated and turn into
breaking the rest of the PHP file.
Screenshot (224kb) (left side is not minified, and the right side is minified but with changes that break the PHP file due to single line comments)
Original PHP file (external)
Workaround:
A workaround for not letting comments break the rest of the file is to use
/* multi-line (or 'C' style) comments instead */