-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Css extraction issue with transpiled code #620
Comments
I was able to track down the issue, in the new project we was importing our tokens . in a component if using tokens from library then the error surfaces, but if we just type out the var(...) manually things work
Library Tokens
|
@layershifter - are there any special way one need to export tokens for them to be used. I looked at fluentui and it seems it is just a dictionary of key value - i changed above to the same to not have any logic like the cameltoKebabCase, but the result is the same. Need to figure out how to export tokens from my lib so it can be used in consumer project with css extraction |
(will follow up on Monday 👀 ) |
@pksorensen do I correctly understand that you have a monorepo: Are you using Yarn Workspaces? NPM? Or should Monorepo caseIt's odd that it gets resolved into External dependencyIn this case, it seems that |
I have used my project (quickform-core) in another project and used css extraction without problems. But in a new project i am just hitting my head against the wall for hours now not able to figure out why.
my next.config.js
and i am getting the below error. I tried to identify the difference between my working project and the new project, but so far they are very similar.
Any hint to help me find the root cause would be nice.
@EAVFW\quickform-core is basically a bunch of typescritp files distributed by npm
The text was updated successfully, but these errors were encountered: