assemble / assemble-less

Grunt task for compiling LESS to CSS. This task does for less what Assemble does for HTML, making it much easier to modularize and reduce repetition in stylesheets.
http://github.com/assemble/assemble/
MIT License
66 stars 20 forks source link

banner should be appended after the css is compressed #21

Open caiguanhao opened 10 years ago

caiguanhao commented 10 years ago

currently if you have a newline at the end of the banner option:

less: {
  options: {
    compress: true,
    banner: '/*! Banner */\n'
  }
}

the trailing newline will also be removed. the banner should not be appended before the css is compressed. it should let users to choose whether the banner is in a new line or not.

jonschlinkert commented 10 years ago

:+1: good point. I'll plan this change