Some bundlers (in my case it's Angular CLI) minifies CSS before running critters. Therefore, any /* critters:exclude */ comments got stripped.
However, it's possible to preserve them using /*! critters:exclude */ or /* critters:exclude @preserve */ hints but in this case these markers are ignored by critters.
Would it be possible to implement a bit smarter parse logic to support these cases?
Some bundlers (in my case it's Angular CLI) minifies CSS before running critters. Therefore, any
/* critters:exclude */
comments got stripped.However, it's possible to preserve them using
/*! critters:exclude */
or/* critters:exclude @preserve */
hints but in this case these markers are ignored by critters.Would it be possible to implement a bit smarter parse logic to support these cases?
Thanks