I'm new-ish to Next, migrating from Gatsby.
In Gatsby, I had a Node module that I used for UIs across my projects, like a UI library. It used a CSS module file (style.module.css), which could be imported from the main JavaScript file in the module. The Node module needs to remain as a Node module (on NPM/Yarn etc).
However, on moving to Next, I have discovered that Next doesn't allow importing of (at least by default) CSS or CSS Module files within a Node module, as can be seen in the screenshot attached.
My question is, how can I use a CSS/CSS module (either is fine) file within my Node module, or if this isn't possible, what can I do instead? I can use CSS-in-JS, but would prefer conventional CSS if possible
