Open janhesters opened 2 years ago
I'm trying to use SWC-Node for a React project. Everything works so far, except for handling CSS imports.
With Babel, we used to use the module-name-mapper plugin to replace all .css file with something that exports an empty object.
module-name-mapper
.css
Is there a way to do this, too?
PS: I created a StackOverflow question with a link to a minimal reproducible example here.
I'm trying to use SWC-Node for a React project. Everything works so far, except for handling CSS imports.
With Babel, we used to use the
module-name-mapper
plugin to replace all.css
file with something that exports an empty object.Is there a way to do this, too?
PS: I created a StackOverflow question with a link to a minimal reproducible example here.