@realgeeks/sass-flatten
Reduce a Sass (scss) file structure to a single file by inlining partial imports.
Last updated 2 years ago by realgeeks .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @realgeeks/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.2.8                                ...           dev (2 years ago)
  • 0.2.9                                ...           latest (2 years ago)

11 Versions

  • 0.2.9                                ...           2 years ago
  • 0.2.8                                ...           2 years ago
  • 0.2.7                                ...           2 years ago
  • 0.2.6                                ...           2 years ago
  • 0.2.5                                ...           2 years ago
  • 0.2.4                                ...           2 years ago
  • 0.2.3                                ...           2 years ago
  • 0.2.2                                ...           2 years ago
  • 0.2.1                                ...           2 years ago
  • 0.2.0                                ...           2 years ago
  • 0.1.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 2
Last Month 6
Dependencies (3)
Dev Dependencies (1)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |