postcss-single-line

1.0.0 • Public • Published

PostCSS Single Line

A PostCSS plugin that formats single-property rules on oneline.

Example

postcss([
    require('postcss-single-line')
])
/* Input example */
.foo {
  opacity: .5;
}

.bar {
  opacity: .5;
  outline: 1px solid red;
}
/* Output example */
.foo { opacity: .5; }

.bar {
  opacity: .5;
  outline: 1px solid red;
}

Readme

Keywords

Package Sidebar

Install

npm i postcss-single-line

Weekly Downloads

3

Version

1.0.0

License

MIT

Last publish

Collaborators

  • aleray