Closed 4r7if3x closed 7 years ago
Skipping the whole file is probably fine I think. Fast enough.
Well, that logic doesn't work for me. May I know why you have skipped inline scripts for example? Any specific reason?
May I know why you have skipped inline scripts for example? Any specific reason?
Wondering about that too.
@emielmolenaar You may use my patch on that: https://github.com/SamAriafar/Laravel-HTMLMin/tree/patch-1
You've used containsBadHtml function at BladeMinifier class to detect bad html and used shouldMinify function to decide whether skip the whole file that contains these pieces of codes. It was nicer if you took those segments out, minified them separately in case of need and put them back after compressing other codes.