Answer the question
In order to leave comments, you need to log in
Sass-loader not reading @import 'vendor/**/*.scss'?
Build error
SassError: File to import not found or unreadable: vendor/**/*.scss.
on line 10 of /mnt/d/webpack-setup-test/src/styles/main.scss
>> @import 'vendor/**/*.scss';
^
{
test: /\.(sa|sc|c)ss$/,
exclude: [path.join(__dirname, "/src/modules/"), path.join(__dirname, "/src/vue/")],
use: [
{
loader: MiniCssExtractPlugin.loader,
options: {
hmr: process.env.NODE_ENV === 'development',
},
},
'css-loader',
'sass-loader',
'postcss-loader',
],
},
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question