filterOptions doesnt work for filters with include block
ivan-shaban opened this issue · 1 comments
ivan-shaban commented
If i define filter's options in filterOptions
section it merged in pure filters, but doesnt into filters with include block. E.g.:
let compile = pug.renderFile(path.join(inputDir, `${file}.pug`), {
pretty: true,
plugins: [cssModules],
filterOptions: {
"scss": {
modules: true,
includePaths: ['../app/styles', '../app/styles/images'],
outputStyle: 'compressed',
},
}
});
works fine:
style
:scss
body {
background-color: #989898;
}
doesn't work:
style
include:scss ./styles-pug.scss
ivan-shaban commented
Fixed in e4a8200