sass-folder-converter
v1.0.3
Published
Allows you to convert folders containing Sass files to CSS to another folder.
Downloads
11
Maintainers
Readme
Sass Folder Converter
Allows you to simply convert folders containing Sass files to CSS to another folder.
Installation
This is a Node.js module available through the NPM registry.
Use the following NPM command to install the package:
npm install sass-folder-converter
Exemple
const convertSass = require("sass-folder-converter");
Simply:
convertSass(__dirname + "/sass/", __dirname + "/css/");
Or custom...
convertSass(
__dirname + "/sass/", // your Sass folder
__dirname + "/css/", // the CSS destination folder
"expanded", // optional, output style "compressed" or "expanded"
true // optional, if true, this create the destination folder if it doesn't exist
);