A custom loader for Webpack that allows glob import in Dart Sass.
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"],
},
],
},
};