Closed jp26jp closed 6 years ago
Hi, Thanks for your comment, will have a look into this issue and get back to you when I'm able to.
Can you expand on where these issues are occurring so I know which library to look at? jeykll-minifier is essentially a wrapper to 3 different libraries, Uglifier for .js files, cssminify2 for .css files, and htmlcompressor for html and internal html/js/css content, so I need to see where this is actually happening, and potentially raise an issue with the upstream library.
It's doing this to pure JS files so I guess that would mean uglifier? I had excluded compression of html and css in the settings when I ran into this issue.
It also only happens if the js file uses the yaml front matter blocks. Here's an example.
Same thing for me
---
---
// Theme JavaScript
(function($) {
...more things here
This results as a one line js starting with //
, which of course does not work
Any update? I'm having same issue.
i'm having this issue too. I have to wrap it in Githubissues.
Since JS comments don't get removed, any JS comments made using
//
end up commenting out the rest of the file.