Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question; can we also exclude? #14

Closed
talistech opened this issue Feb 29, 2024 · 1 comment
Closed

Question; can we also exclude? #14

talistech opened this issue Feb 29, 2024 · 1 comment

Comments

@talistech
Copy link

Is there also a trick to exclude certain parts? Just like this, but the other way around:
#7 (comment)

For example:
LaravelHtmlMinifyFacade::htmlMinifyExclude(@include('DoNotMinifyThisFile.css'));

Thanks

@dipeshsukhia
Copy link
Owner

exclude minify particular html part

LaravelHtmlMinifyFacade::excludeHtmlMinify("<div>...</div>");

exclude html minify in blade directory

@excludeMinify
    <div> exclude code from Minify </div>
@endExcludeMinify

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants