JSPM

  • Created
  • Published
  • Downloads 78
  • Score
    100M100P100Q63158F
  • License MIT

Modular CSS bundler

Package Exports

  • sheetify

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

Readme

sheetify

sheetify logo

NPM version build status Test coverage Downloads js-standard-style

Modular CSS bundler. Works with npm modules like browserify does.

Features

  • source map support
  • minification
  • rich plugin ecosystem
  • streaming interface
  • easily extensible

Usage

cli

sheetify - Modular CSS bundler

Usage: sheetify [options] [entry file]

Options:
  -h, --help        Output usage information
  -v, --version     Output version number
  -t, --transform   Include a sheetify transform
  -m, --modifier    Include a sheetify modifier
  -c, --compress    Compress final output
  -d, --debug       Inline CSS sourcemaps

Examples:
  $ sheetify index.css > bundle.css   # Bundle index.css to bundle.css
  $ sheetify -cd index.css            # Compress and include source maps

Docs: https://github.com/sheetify/sheetify
Bugs: https://github.com/sheetify/sheetify/issues

api

const sheetify = require('sheetify')

const bundler = sheetify('./index.css')
bundler.bundle().pipe(process.stdout)

Options

transform

[tbi]

modifier

[tbi]

compress

[tbi]

debug

[tbi]

API

bundler = sheetify(entry)

[tbi]

bundler.bundle(cb(err, res))

[tbi]

License

MIT