🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

node-sass-glob

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-sass-glob

A node-sass importer adding glob support

latest
Source
npmnpm
Version
1.0.4
Version published
Weekly downloads
69
-35.51%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

node

FAQs

Package last updated on 15 Apr 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts