-
Notifications
You must be signed in to change notification settings - Fork 189
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
Option to not remove the space before/after CSS variables #98
Comments
hmm, according to the spec, spaces are only required around the
The postcss issue you linked to has a comment saying it is fixed:
Maybe you just need to upgrade to a newer version? |
You're right. Currently I'm using Honestly I can't think of any other use case for it other than the workaround for the |
if you're publishing an npm package, you might not need to minify it ahead of time? you could leave it to consumers to minify? spaces are always added if the otherwise, I'll have to think about it. maybe we can just send a pr to |
We had too many issues in I would suggest not adding more workarounds for this single package. |
Most of the downloads in The downloads of later versions are negligible : |
Thanks for the details @romainmenke |
I want to minify this
to this (see the spaces between variables)
but currently all spaces are being removed
[example link]
Why does it matter?
Because there's an issue from
postcss-values-parser
and the currently only workaround is to add spaces before and after the/
which is between CSS variables.If I minify my CSS using Parcel CSS and someone use
postcss-values-parser
on it, it will cause error.I'm just wondering if there's a way to keep that space between variables.
The text was updated successfully, but these errors were encountered: