sass-loader-smooth-importer

0.1.1 • Public • Published

Overview

Usage

Basic usage with sass-loader. This goes in your webpack configuration object.

var scssImporter = require('sass-loader-smooth-importer');
 
module.exports = {
  sassLoader: {
    importer: scssImporter({
      modules: [
        // Applies the importer to all modules in this namespace
        '@namespaced-styles', 
 
        // Applies the importer only to imports of gridle
        'gridle'
      ]
    })
  }
};

Readme

Keywords

Package Sidebar

Install

npm i sass-loader-smooth-importer

Weekly Downloads

2

Version

0.1.1

License

MIT

Last publish

Collaborators

  • iknowcss