Open dkonchekov opened 4 years ago
I also ran into issues with dart sass being used. Here is a snippet it doesn't parse well and errors out (much reduced from the original case):
<style lang="scss">
$xsize: 10;
body {
--xsize: #{$xsize};
padding: max(5,7) * 1px var(--xsize);
}
</style>
This produces:
[!] (plugin VuePlugin) Error: Error: Undefined operation "max(5, 7) * 1px".
But changing lib/styleProcessors/index.ts to load 'node-sass' again fixes the issue.
We have issue with vue-jest, that uses this package. (https://github.com/vuejs/vue-jest/issues/137#issuecomment-589600979). It would be nice to borrow experience on sass-loader and provide a choice of what to use: node-sass or sass (https://github.com/webpack-contrib/sass-loader/blob/master/src/getDefaultSassImplementation.js)