figma / code-connect

A tool for connecting your design system components in code with your design system in Figma
MIT License
843 stars 64 forks source link

Kebab-case does not work with importPaths in figma config. #124

Open jongjunpark opened 1 month ago

jongjunpark commented 1 month ago

- not kebab-case
```javascript
import { SideSheet } from "./sidesheet.js";

figma.connect(
  SideSheet,
  "https://www.figma.com/...",
  ...
)

image this case apply importPaths

figma.connect( SideSheet, "https://www.figma.com/...", ... )


![image](https://github.com/user-attachments/assets/a0488a98-2b66-4d8c-a21d-fe0932845ad9)
does not apply importPaths
ptomas-figma commented 1 month ago

Hi @jongjunpark ! Thanks for the message. We'll be adding support for this in an upcoming version.