sass-flatten
Reduce a Sass (scss) file structure to a single file by inlining partial imports.
Last updated 5 years ago by iclanzan .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install sass-flatten 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.1.1                                ...           latest (5 years ago)

2 Versions

  • 0.1.1                                ...           5 years ago
  • 0.1.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (3)
Dev Dependencies (1)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |