node-sass-glob

1.0.4 • Public • Published

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.

Dependents (1)

Package Sidebar

Install

npm i node-sass-glob

Weekly Downloads

45

Version

1.0.4

License

MIT

Last publish

Collaborators

  • hperigo
  • gabroell
  • josdelgaur
  • jam3dev
  • njam3
  • iranreyes
  • namniak
  • donghyukjang
  • alemesa
  • neoli
  • colin-j3
  • jmckinnell
  • n0wak
  • amelierosser
  • artemleznikov
  • jeffong
  • nickfish