code-connect
code-connect copied to clipboard
Combine duplicate imports from the same package
Hi, is there a way for Figma Code Connect to combine imports that come from the same path?
Right now, the generated code creates separate import lines for each component:
import { RadioGroup } from "@design-system"; import { RadioButton } from "@design-system";
It would be preferable if these could be combined into a single import statement:
import { RadioGroup, RadioButton } from "@design-system";
I'm hitting the same issue. Eslint will fix it for us, but would still be nice to have 🙇