Comments in @import-ed files are being inappropriately suppressed
See original GitHub issueIn @import
ed .styl
files, all block comments are being suppressed in the output.
There’s a closed issue for that https://github.com/LearnBoost/stylus/issues/444 from 2 years ago but It’s still not working.
I’ve created a repo to show this scenario: https://github.com/vitormil/stylus-comment-bug
Issue Analytics
- State:
- Created 10 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Comments in @import-ed files are being suppressed · Issue #444 ...
In @imported .styl files, all block comments that are not inside a selector are being suppressed in the output. Nope, not using compression...
Read more >Any update on exclusion/suppression list functiona... - 341196
When a contact unsubscribes or opts-out of your mailing list, our system automatically removes them from your active contact list. Not only this,...
Read more >Manage Suppression Lists - Genesys Documentation
Suppression lists contain contact information for those who do not want to be contacted. Key features of a suppression list:.
Read more >How to suppress a certain warning in Spyder editor?
You need to go to. Tools > Preferences > Editor > Code Introspection/Analysis. and deactivate the option called. Real-time code analysis.
Read more >Excluding and suppressing software instances
They are also listed in the audit snapshot, together with exclusion comments. Suppression: Suppress a component when it is improperly discovered. For example, ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Is there a working solution without explicitly mark comments like /*! */ ? Like @dpanov I am working with the sc5 styleguide where I urgently need comments from imported/required .styl files for my styleguide documentation.
The problem with /*! */ is that the stylus compiler can’t remove them in further build tasks for production. So I need another CSS minifier to remove the persisted comments.
I would suggest an additional build flag to remove persisted comments /*! */ as well if it is needed.
Guys, this is really causing problems when a documentation like Kalei (http://kaleistyleguide.com/) is used. It uses comments in order to generate a style documentation. In my case, I use Grunt to generate two files. One of the files is compressed and doesn’t have comments - this is the file that gets loaded on the website. The second CSS file is not compressed and it has comments. The style guide reads the uncompressed file and builds a documentation from it.
It’s not acceptable to use suppressed comments, because they will appear in the compressed file as well.