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
Currently the way to add imports is using mod.imports.$add, which requires an ImportItemInput which requires an imported parameter, whereas it does not allow for generating such expression like import 'my-global-styles.css'
On giving null or undefined as imported there is an error thrown
In my case it's particularly important for using AST to export custom css-in-jsx styles outside of file
I could take a look at it when pointed what would be the best way to modify it, and whether it's magicast or recast
Additional information
Would you be willing to help implement this feature?
The text was updated successfully, but these errors were encountered:
Describe the feature
Currently the way to add imports is using mod.imports.$add, which requires an ImportItemInput which requires an
imported
parameter, whereas it does not allow for generating such expression likeimport 'my-global-styles.css'
On giving null or undefined as imported there is an error thrown
In my case it's particularly important for using AST to export custom css-in-jsx styles outside of file
I could take a look at it when pointed what would be the best way to modify it, and whether it's magicast or recast
Additional information
The text was updated successfully, but these errors were encountered: