@realgeeks/sass-flatten

0.2.9 • Public • Published

sass-flatten

Reduce a Sass (scss) file structure to a single file by inlining partial imports.

Installing

npm install -g sass-flatten

Usage Examples

It can read from a file

sass-flatten some/path/input.scss output.scss

or from stdin

cat some/path/input.scss | sass-flatten --include-path some/path/ > output.scss

API

var flatten = require('sass-flatten');
var input = '@import "some/partial";';
var includePath = 'some/path';

var output = flatten(input, includePath);

Readme

Keywords

none

Package Sidebar

Install

npm i @realgeeks/sass-flatten

Weekly Downloads

95

Version

0.2.9

License

none

Unpacked Size

5.71 kB

Total Files

5

Last publish

Collaborators

  • sparkmasterflex
  • nathan.straubrg
  • mauilabs
  • dinnertime_realgeeks
  • csass-rg
  • almirg
  • katie.perry-rg
  • aaronrg
  • kevin1024
  • rg-geekbot
  • larslevie