Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

csskit-cli

csskit15ISC1.1.1

command-line tool for working with csskit & other modular, functional css

css, csskit, modular css, functional css, css bundler

readme

csskit-cli

Command-line tool for working with csskit & other modular, functional css.

npm travis standard conduct

About

The csskit command-line tool is used for bundling css modules based on postcss and cssnano.

Install

npm install --save-dev csskit-cli

Usage

USAGE:
  csskit {command} [options]

COMMANDS:
  bundle     bundle up some css and its dependencies
  watch      same as bundle, watches css files for changes and rebundles
  help       show this help message

BUNDLE
  csskit bundle input.css > bundle.css

  Options:
    --minify, -m      minify using npmjs.com/cssnano
    --output, -o      specify an output file for the bundled css

WATCH
  csskit watch input.css > bundle.css

  Options:
    --minify, -m      minify using npmjs.com/cssnano
    --output, -o      specify an output file for the bundled css

HELP
  csskit help

Contributing

Contributions are welcome! Please read the contributing guidelines first.

Conduct

It is important that this project contributes to a friendly, safe, and welcoming environment for all. Read this project's code of conduct

Changelog

Read about the changes to this project in CHANGELOG.md. The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Contact

License

ISC

changelog

cli changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Unreleased

  • ???

v1.1.0

Added

  • add watch command
  • add --minify option
  • add require('csskit') js api

v1.0.3

Fixed

  • package.json cleanup fixes

v1.0.2

Added

  • added a change log

Fixed

  • fixed the bin field in package.json

v1.0.1

Fixed

  • typo fixes

v1.0.0

Added

  • Initial working csskit bundle command using postcss, postcss-import, and postcss-cssnext