Is there a way to import SCSS as CSS using Parcel Bundler + SASS + TypeScript?
I have a SCSS file called file.scss
div {
span: {
background: red
}
}
so I want to import it as a CSS string in TypeScript, I'm tryng something like this:
import cssString from "./file.scss"
console.log(cssString)
// ^^^^^^^^^ Expected value => div span: { background: red }
But isn't working properly.
So, i need to know, there is a way to do that?