Tanstack Start app with css (scss) modules with troubles using defaultNotFoundComponent
I'm trying out tanstack start for the first time, following a few of the guides and examples.
I'm having quite a weird issue now, and it's possibly from misconfiguration, but I'll let you ask before I post to much nonsense about configuration.
When I'm importing my
<NotFound /> component in router.tsx and using it as defaultNotFoundComponent it does not render it's styles when doing a build. It works perfectly fine in dev mode.I can see, after the build, that the css is in the output folder, but it's not injected on the page.
Using this component anywhere else in my application, it works fine, but not when using it as
defaultNotFoundComponent.Any ideas? What else can I share to give somewhat decent information?