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

Sprites - use // comments in generated LESS files #1519

Open
jammitch opened this issue Sep 19, 2014 · 1 comment
Open

Sprites - use // comments in generated LESS files #1519

jammitch opened this issue Sep 19, 2014 · 1 comment

Comments

@jammitch
Copy link

In sprites, the generated .less file creates mixins that use /**/ comments, which causes the comments to be rendered in the final .css file. If you follow the instructions at the top of the .less file and @import it, then your destination file now has the same comment, even though it obviously doesn't apply to the generated file. The comments in the individual mixins will also be put in the output file. We minify before release, but the comments are still unnecessary in the intermediate generated files.

I don't know if SASS has a similar mechanism for removed comments, but a similar behavior should be adopted there if possible.

@am11
Copy link
Contributor

am11 commented Sep 21, 2014

Same is true for SASS: sass/libsass#424.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants