PostCSS plugin to wrap lines after a specified number of characters.
This functionality is useful if a tool in your chain has a limit on characters-per-line.
}
}
Installation
npm i postcss-wrap-lines --save-dev
Usage
const postcss = ;const postcssWrapLines = ; const options = // Your options;
See PostCSS docs for examples for your environment.
Options
Key | Default | Explanation |
---|---|---|
debug | false | Show information for debugging |
maxWidth | 32768 | The maximum characters allowed per line |