• Resolved Martin

    (@martinplr)


    Hello,

    When HTML Minify is turn on Livewire 2 components throw an error in the console because they expect a comment at the end of the component. Filter or option to disable removing comments would be helpful for fixing that.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support qtwrk

    (@qtwrk)

    do you have sample how does that comment look like ?

    Thread Starter Martin

    (@martinplr)

    Sure, here is example:

    <div wire:id="HzX2QOpnGrrlH6ByTfZu" ...> ...component... </div>
    
    <!-- Livewire Component wire-end:HzX2QOpnGrrlH6ByTfZu -->
    Plugin Support qtwrk

    (@qtwrk)

    thanks, I will forward it to our dev as feature request with sample.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Feature request] Option to disable removing comments when minifing HTML’ is closed to new replies.