1.0.4 • Published 8 years ago

node-sass-glob v1.0.4

Weekly downloads
1,295
License
MIT
Repository
github
Last release
8 years ago

node-sass-glob

stable

A glob importer for use with node-sass

Installation

npm i node-sass-glob

Usage

NPM

To use the importer, simply pass it to the node-sass.render() function

var sass = require('node-sass');
sass.render({
  importer: require('node-sass-glob'),
  ...options
}, function (err, output) {});

In your scss files, simply use globs in your import statements.

@import 'styles/**/*.scss';
@import 'content/*.scss';

License

MIT, see LICENSE.md for details.

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago