@highpoint/merge-scss
Merge SCSS files together
Last updated a year ago by jkrehm .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @highpoint/merge-scss 
SYNC missed versions from official npm registry.

Merge SCSS

Merges an SCSS file and all of its imports together.

Installation

yarn add -D @highpoint/merge-scss

Usage

In your package.json file's scripts section, add a script similar to this:

"merge-scss": "merge-scss --in css/main.scss --out dist/bundle.scss"

Alternatively, use as a module in your project like this:

const fs = require('fs');
const mergeSCSS = require('@highpoint/merge-scss');

mergeSCSS('./main.scss')
  .then(scss => fs.writeFileSync('./dist/out.scss', scss));

Current Tags

  • 1.0.1                                ...           latest (a year ago)

3 Versions

  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
  • 0.1.0                                ...           2 years ago
Downloads
Today 0
This Week 4
This Month 4
Last Day 1
Last Week 0
Last Month 1
Dependencies (5)
Dev Dependencies (7)

Copyright 2014 - 2016 © taobao.org |