JSPM

postcss-sort

0.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q31041F
  • License MIT

PostCSS plugin for sorting properties

Package Exports

  • postcss-sort

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (postcss-sort) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

postcss-sort

PostCSS plugin for sorting properties

Usage

postcss([ require('postcss-sort') ])

See PostCSS docs for examples for your environment.

By default, properties are sorted alphabetically. If you want to sort them another way, you can supply your own sorting function.

var sort = require('postcss-sort')(sortingFunction);