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

Option to choose \n or \n\n with new lines? #90

Open
hzlzh opened this issue Mar 8, 2016 · 0 comments
Open

Option to choose \n or \n\n with new lines? #90

hzlzh opened this issue Mar 8, 2016 · 0 comments

Comments

@hzlzh
Copy link

hzlzh commented Mar 8, 2016

Same here #55

All the CSS properties build with new empty line like this screenshot, It will break gulp-sourcemaps format and fail.

image

https://github.com/reworkcss/css/blob/master/lib/stringify/identity.js#L44

Compiler.prototype.stylesheet = function(node){
  return this.mapVisit(node.stylesheet.rules, '\n\n');
};

Need option to choose \n or \n\n

@hzlzh hzlzh changed the title Need option to choose \n or \n\n Option to choose \n or \n\n with new lines? Mar 8, 2016
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

1 participant