@highpoint/merge-scss

1.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @highpoint/merge-scss

Weekly Downloads

16

Version

1.0.1

License

MIT

Unpacked Size

4.25 kB

Total Files

6

Last publish

Collaborators

  • gamalor
  • dustinneumann42
  • jkrehm
  • mciparelli
  • gjoneshpt