aduth / sass-embedded-cli

Command-line interface for sass-embedded

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sass-embedded-cli

Command-line interface for sass-embedded which can be used as a (mostly) drop-in replacement for node-sass.

Installation

Install using npm. sass-embedded is a peer dependency and must be installed, if not already.

npm install sass-embedded-cli sass-embedded

Usage

Usage should match node-sass command-line usage.

Note that sass-embedded is not fully compatible with node-sass, as it is based on the Dart implementation. In particular, this affects the default --output-style, which must be specified as one of the valid Dart Sass styles (expanded or compressed).

node-sass styles.scss --output-style compressed

For a complete set of differences, refer to the Dart Sass "Legacy JavaScript API" documentation.

License

Copyright 2022 Andrew Duthie

Released under the MIT License. See LICENSE.md.

About

Command-line interface for sass-embedded

License:MIT License


Languages

Language:JavaScript 100.0%