You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered a situation where I needed to add a stylesheet dynamically, so I tried using unlisted CSS. I created a .scss as unlisted CSS, but the scss file was not generated as a CSS output.
When adding regular .css as unlisted CSS, it works without any issues, so it seems like there's something wrong related to sass.
PortalCube
changed the title
Unlisted CSS with Sass does not generate any css file
Unlisted CSS using preprocessor does not build css file
Apr 18, 2025
Describe the bug
I encountered a situation where I needed to add a stylesheet dynamically, so I tried using unlisted CSS. I created a .scss as unlisted CSS, but the scss file was not generated as a CSS output.
When adding regular .css as unlisted CSS, it works without any issues, so it seems like there's something wrong related to sass.
Reproduction
unlisted-css-bug.zip
Steps to reproduce
npx wxt@latest init
npm i
npm i sass-embedded -D
entrypoints/test.content.scss
npm run dev
ornpm run build
Expected
A file named
test.css
should be generated in.output/chrome-mv3/content-scripts
Actual
The
test.css
file does not exist :(System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: