Add line-break option #8

timbeadle opened this Issue Feb 12, 2013 · 1 comment

2 participants


Various implementations of the YUI Compressor expose a line-break option, which tells the compressor to insert line breaks every n characters in minified scripts in order to keep line lengths down to a size that won't cause problems in certain browsers and/or source-control systems.

The yuicompressor node package supports this option, for instance:

More details on why line length is important in minified scripts/CSS:


My colleague @fblundun is working on this one now... Expect a PR in a bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment