Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 578 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 578 Bytes

webpack-sass-glob-importer

npm version

A custom loader for Webpack that allows glob import in Dart Sass.

Installation

npm install --save-dev webpack-sass-glob-importer

Then add the plugin to your webpack config. For example:

webpack.config.js

module.exports = {
  module: {
    rules: [
      {
        test: /\.scss$/i,
        use: ["webpack-sass-glob-importer"],
      },
    ],
  },
};

License

MIT