node-sass-magic-importer

v0.1.2
Custom node-sass importer for selector specific imports, module importing, globbing support, import files only once and importing of files with .css extension

test:selectors

node-sass --importer index.js -o tests/css/dist tests/css/selectors.scss

test:module

node-sass --importer index.js -o tests/css/dist tests/css/module.scss

test:globbing

node-sass --importer index.js -o tests/css/dist tests/css/globbing.scss

test:once

node-sass --importer index.js -o tests/css/dist tests/css/once.scss

test:css

node-sass --importer index.js -o tests/css/dist tests/css/css.scss

test:combined

node-sass --importer index.js -o tests/css/dist tests/css/combined.scss

test

npm run test:selectors && npm run test:module && npm run test:globbing && npm run test:once && npm run test:css && npm run test:combined

Metadata

  • MIT
  • Whatever
  • Markus Oberlehner
  • released 6/20/2016

Downloads

Maintainers