JSPM

postcss-chunk

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q29314F
  • License MIT

PostCSS plugin to split larger CSS files into smaller chunks based on target selector count. Supports nested atrules, and processing multiple files in one stream.

Package Exports

  • postcss-chunk

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-chunk) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

PostCSS Chunk Build Status

PostCSS plugin to split larger CSS files into smaller chunks based on target selector count. Supports pnested atrules, and processing multiple files in one stream..

.foo {
    /* Input example */
}
.foo {
  /* Output example */
}

Usage

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

See PostCSS docs for examples for your environment.