Josee9988 / MinifyAll

A 𝗩𝗦𝗖𝗼𝗱𝗲 𝗺𝗢𝗻𝗢𝗳𝗢𝗲𝗿 for JS, JSON/C, CSS, and HTML, you will love its simplicity! 🌟 π˜Ύπ™€π™’π™₯π™§π™šπ™¨π™¨ and π™œπ™―π™žπ™₯ files and folders πŸ“¦ Reduce your bundle and file sizes with lightning speed ⚑
https://minifyall.jgracia.es/
GNU General Public License v3.0
71 stars 10 forks source link

[Bug] @preserve @endpreserve does not work in js #183

Open AECOM-VDC opened 3 months ago

AECOM-VDC commented 3 months ago

🐞 Bug Report

Describe the bug

@preserve @endpreserve does not work properly in js.

// @preserve
// something 
// @endpreserve

will result in // @preserve *


Is this a regression?

I don't know.

To Reproduce

  1. enter below in js code

    // @preserve
    // something 
    // @endpreserve
  2. save to auto minify

Expected behaviour

it should show // something instead of // @preserve

*


Media prove


Your environment


Additional context

*

welcome[bot] commented 3 months ago

Thanks for opening your first issue in Josee9988/project-template! Be sure to follow the issue template and provide every bit of information to help the developers!