Replies: 4 comments
-
Does this have something to do with |
Beta Was this translation helpful? Give feedback.
-
It doesn't seem to have anything to do with typescript; I removed the types and renamed the file with a |
Beta Was this translation helpful? Give feedback.
-
At a loss here, and any help would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
-
Still stuck getting the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Array Row Labels are something we use in many places in our config. We made a utility function to reduce boilerplate of typing out the path, clientProps, and exportName in all these places, as well as give us type safety for possible
clientProps
. Here is that utility, for reference:However, importing this utility anywhere in our config throws the dreaded CSS error when generating the
importMap
.In troubleshooting, I have found by writing this utility directly in the config (instead of importing it) that there is nothing wrong with the utility itself. This, however, negates the usefulness of using it anywhere in our config. I don't have a clear understanding of how the importMap generation works, but it seems like there is a step within that generation that doesn't handle this import well.
Is there some way I can modify our utility or bundling configuration to make this work?
Beta Was this translation helpful? Give feedback.
All reactions