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
Any updates? I have a use case for this - I’m currently maintaining a large e-commerce app that consists of many different pages and each page imports a separate *.scss file. These page-specific files import *.scss files of the components that are used within a page.
The app currently uses next-sass package but I’d love to get rid of that dependency (and unlock webpack@5 as the upgrade is currently blocked because of this).
Sure, I could migrate to (S)CSS Modules but it’d take so much time to do so… it wouldn’t be such a problem if I could incrementally migrate to (S)CSS modules (like with TypeScript), seems like it’s not possible - it’s either “use next-sass” or “load all of the styles as a single import statement within the _app.js (which would increase the styles weight heavily) and then slowly migrate to CSS Modules/any other css-in-js solution”.