Closed
Description
When magento 2 minifies PHP files into the view_preprocessed folder it seems to have a bit of a bug when it comes to comments.
If a PHP file contains a commented line starting with # or // it comments out all subsequent lines.
EG:
# commented out line
$newVar = 'blah';
Gets minified into this:
# commented out line $newVar = 'blah';
Which effectively comments out everything after the commented line.
Is there a requirement to minify PHP blocks in these files?
Metadata
Metadata
Assignees
Labels
No labels