Skip to content

A sass-loader importer function which smooths out issues when resolving node_module scss files

Notifications You must be signed in to change notification settings

iknowcss/sass-loader-smooth-importer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'
      ]
    })
  }
};

About

A sass-loader importer function which smooths out issues when resolving node_module scss files

Resources

Stars

Watchers

Forks

Packages

No packages published