You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After applying a parse() + stringify() combo like the gulp-flip plugin does, the headers are all interleaved by double newlines. This can be easily reproduced with this simple test case:
var css = require('css');
var obj = css.parse('/* */\n/* */\n/* */', {});
console.log(css.stringify(obj, {}));
Which prints:
/* */
/* */
/* */
The text was updated successfully, but these errors were encountered:
Our CSS files have multi-line copyright headers at the top like the following:
After applying a
parse()
+stringify()
combo like thegulp-flip
plugin does, the headers are all interleaved by double newlines. This can be easily reproduced with this simple test case:Which prints:
The text was updated successfully, but these errors were encountered: