1.0.3 • Published 4 years ago

sass-folder-converter v1.0.3

Weekly downloads
3
License
ISC
Repository
github
Last release
4 years ago

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
);