0.0.2 • Published 4 years ago

@lumeon/customisations-compiler v0.0.2

Weekly downloads
-
License
MIT
Repository
bitbucket
Last release
4 years ago

This is an SCSS compilation tool using PostCSS and Node Sass.

It provides a small NPM library to include an scss file, compile it, and run it through some postcss processing before minifying it and outputting it to a third directory.

Usage is as follows;

let csp = require('@lumeon/customisations-compiler');

//Looks for "custom.scss" file ...
const filename = "custom";
// ... in the scss directory ...
const inputDir = __dirname + "/scss";
// ... and outputs it to custom.css in the customization directory.
const outputDir = __dirname + "/customization";

csp.process(
    inputDir,
    outputDir,
    filename
);
0.0.2

4 years ago

0.0.1

4 years ago