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

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

Open
AECOM-VDC opened this issue Apr 28, 2024 · 1 comment
Open

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

AECOM-VDC opened this issue Apr 28, 2024 · 1 comment
Assignees
Labels
Type: Bug Something isn't working as expected.

Comments

@AECOM-VDC
Copy link

AECOM-VDC commented Apr 28, 2024

🐞 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

enter below in js code

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

Expected behaviour

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


Media prove


Your environment

  • OS: Windows 10
  • Node version: N/A
  • Npm version: N/A
  • Browser name and version:

Additional context

@AECOM-VDC AECOM-VDC added the Type: Bug Something isn't working as expected. label Apr 28, 2024
Copy link

welcome bot commented Apr 28, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working as expected.
Projects
None yet
Development

No branches or pull requests

2 participants