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] css class & pseudo element bug #157

Open ljm12914 opened 1 year ago

ljm12914 commented 1 year ago

🐞 Bug Report

Describe the bug


Is this a regression?

I don't know it very clearly.


To Reproduce

  1. Create a .css file
  2. Write something like .class ::after{}
  3. Right click and choose "Minify this Document and preserve the original" (Other options will reproduce the bug as well)
  4. See error: The space in the middle of .class ::after{} was lost.

Expected behaviour

This space should not be minified.


Your environment

EXTENSION VERSION: 2.10.0

VS Code version: 1.72.2 (system setup)

commit: d045a5eda657f4d7b676dedbfa7aab8207f8a075

date: 2022-10-12T22:15:18.074Z

Electron: 19.0.17

Chromium: 102.0.5005.167

Node.js: 16.14.2

V8: 10.2.154.15-electron.0

OS: Windows_NT x64 10.0.19044

sandbox: No


Additional context

welcome[bot] commented 1 year 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!

rawriddims commented 1 year ago

It happens to me also, for example in .separator :hover {... the space before :hover is lost. Any chance to fix this bug within a reasonable time?