webpack.config.js
module.exports = {
module: {
rules: [
{
test: /.(css|scss)$/,
use: [
'style-loader',
{
loader: 'css-loader',
options: {
importLoaders: 2,
},
},
'sass-loader',
'postcss-loader',
],
},
],
},
}