question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How disable comments from scss file

See original GitHub issue

In my result css file I see comments from generated .scss file

/*
SCSS variables are information about icon's compiled state, stored under its original file name

.icon-home {
  width: $icon-home-width;
}

The large array-like variables contain all information about a single icon
$icon-home: x y offset_x offset_y width height total_width total_height image_path;
*/

How disable this comment??

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Reactions:2
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Leolikcommented, Aug 3, 2014

When I said that we do not use minification, under this also meant that we use expanded output style for SASS.

At the moment, I have to cut the comments of the generated spritesmith .scss file using grunt-stripcomments. Thereafter, the resulting file CSS is generated without spritesmith comment. But it would be nice if your utility was some way to control the output comments.

0reactions
timurztdcommented, May 19, 2016
Read more comments on GitHub >

github_iconTop Results From Across the Web

Is there any way to remove comments from scss files upon ...
Comments are bits I just don't want to serve up across the wire. Is there any config I can use to remove all...
Read more >
sass - Which output styles remove multiline line comments?
My solution was to simply apply a Perl one-liner to manually remove comments from a .css file, after sass has generated its final...
Read more >
Comments - Sass
Comments in SCSS work similarly to comments in other languages like JavaScript. Single-line comments start with // , and go until the end...
Read more >
How to Completely Disable Comments in WordPress (Ultimate ...
The easier way to bulk disable comments is by using a code snippet. If you're an advanced user, you can either paste the...
Read more >
How to Add Comments in CSS for Yourself or Your Developer
In this post, we'll walk through how to create comments in CSS. Then, we'll cover what it means to “comment out” in CSS...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found