A CLI tool and API for compiling SCSS/Sass to CSS with options for minification, sourcemaps, manifests, and external file packing. Version 2.2.2 is the latest stable release. This library wraps node-sass (LibSass, deprecated) and provides manifest generation, alias support, and folder-based output. Unlike other Sass compilers, it focuses on simple CLI usage and manifest-driven builds. Note: LibSass is deprecated; consider migrating to Dart Sass. Release cadence is low, with last release in 2020.
npm install sass-packNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates using the sass-pack API with source globs, output, minification, sourcemaps, manifest generation, external files, alias, and error handling.
Remove 'theme' from options; use 'source' and 'output' instead.
Use full property names like 'source' instead of 's'.
Migrate to a Dart Sass-based compiler (e.g., sass package) and adjust API.
Use require('sass-pack') instead of import.Provide a directory path for sourcemaps, e.g., sourcemaps: './maps'.
npm install --save-dev node-sass (or globally if using CLI)
Wrap the source path in an array: source: ['path/to/scss']
Create the output directory before running, or use a relative path that exists.