Replies: 1 comment
-
Does this have something to do with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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