I'm trying to use the plugin, but I getting info message: ``` bundles ./Controls/Navigation/navigation.scss → wwwroot/Controls/Navigation/navigation.css... (!) Generated an empty chunk ``` It will generate an empty navigation.css file. rollup.config.js ``` [ scss({ outputStyle: minify ? 'compressed' : 'expanded', sourceMap: !minify, }), ] ``` navigation.scss ``` nav { background-color: var(--color-primary); } ``` If I add processor. It write correct css to console. ``` processor: (css, map) => { console.log(map); console.log(css); return {}; } ``` So question is why is generated file empty? <img width="570" alt="image" src="https://user-images.githubusercontent.com/7644099/216642001-871235af-2039-4aa0-9d48-72fcb41ef599.png">
Activity
thgh commentedon Feb 6, 2023
Probably the
return {};, it should bereturn { css };martindybal commentedon Feb 6, 2023
I don't use that process. I used it only for test.
My whole config:
xaviemirmon commentedon May 10, 2023
I am also running into this issue. @martindybal did you find a way to fix it?
martindybal commentedon May 18, 2023
@xaviemirmon No, I didn't use this plugin. I used Sass directly.