Не работает
Dmitrijs Balcers fonts.scss , все остальные импорты работают..
сам fonts.scss:
@font-face {
font-family: 'Quicksand';
font-style: normal;
font-weight: 300;
src: url('../assets/fonts/quicksand-v22-latin-300.ttf') format('truetype'),
}
sass правила и лоадеры:
{
test: /\.scss$/,
include: [sourcePath],
exclude: [themePath,/\.module\.scss$/],
use: [
"style-loader",
loaderCss,
loaderSass,
loaderPostcss
],
};
css loader:
{
loader: 'css-loader',
options:{
modules:true,
sourceMap:true,
},
};
sass loader:
module.exports = {
loader: "sass-loader",
options: {
sourceMap: true,
}
};
postss loader:
module.exports = {
loader: 'postcss-loader',
options: {
postcssOptions: {
parser: 'postcss-scss',
plugins: [
require('postcss-import')({
path: [styleCssPath],
}),
require('postcss-strip-inline-comments')(),
require('postcss-advanced-variables')(),
require('postcss-custom-properties')({
}),
require('postcss-nested')(),
require('postcss-calc')(),
require('autoprefixer')({ browsers: ["> 1%", "last 2 versions", "not ie <= 8"], grid: true }),
],
},
},
};