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
Also a question: How does the config file work exactly? 🤔 I don't seem to be able to use e.g the ignore property in the config file, typed-scss-modules only accepts that from CLI.
Current Behavior
Right now based on the setup in the test repo (link below) the type generation errors out because it cannot resolve the alias in the .scss file.
Possible Solution
Steps to Reproduce (for bugs)
Here is a repo with the minimal setup for the error
I'm trying to generate type definitions for my stylesheets. I'm using a monorepo setup and separated the "design system" (e.g. variables that are common across) into their own root folder.
I set up vite with aliases so I can refer to this folder as @designToken and it works for that.
The problem comes when I try to setup typed-scss-modules to generate type definitions for my component library, because no matter how I'm trying to configure it, it cannot resolve the aliases in the .scss files.
Your Environment
Please refer to the test repo
Version used:
Operating System and versions:
Link to your project:
The text was updated successfully, but these errors were encountered:
Expected Behavior
.scss
filesAlso a question: How does the config file work exactly? 🤔 I don't seem to be able to use e.g the
ignore
property in the config file,typed-scss-modules
only accepts that from CLI.Current Behavior
.scss
file.Possible Solution
Steps to Reproduce (for bugs)
Here is a repo with the minimal setup for the error
https://github.com/csabbee/test-typed-scss-monorepo
Context
I'm trying to generate type definitions for my stylesheets. I'm using a monorepo setup and separated the "design system" (e.g. variables that are common across) into their own root folder.
I set up vite with aliases so I can refer to this folder as
@designToken
and it works for that.The problem comes when I try to setup
typed-scss-modules
to generate type definitions for my component library, because no matter how I'm trying to configure it, it cannot resolve the aliases in the.scss
files.Your Environment
Please refer to the test repo
The text was updated successfully, but these errors were encountered: