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
{{ message }}
This repository was archived by the owner on Oct 30, 2020. It is now read-only.
This might be a really dumb question, but is there any way to auto-generate the scss.d.ts files WITHOUT having to turn on CSS modules?
I would like to be able to import a given SCSS file into my React component to use the styles. With the modules: true option, the scss.d.ts file gets generated and my component is happy, but all my site styling totally breaks because it was not set up to use CSS modules.
If I do one run through webpack with modules: true (so that the type files are generated), then do a second run through with modules: false, everybody's happy, my global styling works and my React component can find its type files. However, if I were to change the source SCSS or delete the type file, I'd have to repeat these extra steps to get a new type file, which is annoying.