Alan B Smith
Alan B Smith
This sounds similar to #523, I think. Did you see Danny's comment here? https://github.com/amzn/style-dictionary/issues/523#issuecomment-769455452
Update: Table, Skeleton, and SystemIcon have been updated already. Below are sandboxes for other components on the list. - [Count Badge refactor](https://codesandbox.io/s/badge-refactor-vqjv2l?file=/src/Badge/CountBadge.tsx) - [Loading Dots refactor](https://codesandbox.io/s/vigorous-cdn-gzyxc6?file=/src/LoadingDots/LoadingDots.tsx)
Hey @ab18556 ! Thanks you so much for this! Most React components use a `.js` extension (in my experience). But the loader should catch `.js` or `.jsx`? I might be...
Yeah, I'm happy to support both `.js` and `.jsx` as well as ` scss` and `sass`. I thought the line that's there would catch both. ``` { test: /\.js?$/, loader:...
Hey! Sorry I'm just now seeing this. I am getting this error locally as well. I'm trying to debug now.
@vjpr and @Tautorn I confirmed this is happening (for me) when I use functional components that don't have a `displayName`. This lib uses the displayNames to create the data attrs....
Actually, wait. I'm investigating further.
Okay, it looks like something has changes with how Babel is traversing these nodes, but I'm not sure why. I have a patch that's working locally. I'll push it tonight....
@nihaux, It appears to be a bit more complicated than I anticipated. It looks like this plugin works fine for styled-components, but I haven't found a way to get it...
Just a note to remove any internal references from public issues.