Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Latest commit

 

History

History
42 lines (30 loc) · 1.12 KB

README.md

File metadata and controls

42 lines (30 loc) · 1.12 KB

backpack-node-sass

Build Status npm version

backpack-node-sass runs several node-sass processes in parallel - allowing Sass files to be transpiled faster than using node-sass directly.

Install

npm install --save-dev backpack-node-sass

Usage

> backpack-node-sass
✔ 159 files found
✔ 8 workers spawned
✔ 159/159 compiled

Add a comment to output files - e.g. a license header or file comment:

Note: Ensure your prefixComment is plain text and does not already include comments in the form /* */.

> backpack-node-sass --prefixComment="$(<./license.txt)"
✔ 159 files found
✔ 8 workers spawned
✔ 159/159 compiled

Watch mode:

> backpack-node-sass --watch
✔ Ready for changes
✔ Compiled: packages/bpk-component-button/src/bpk-button.css
✔ Compiled: packages/bpk-component-text/src/BpkText.css