figma / code-connect

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

React README.MD in figma.config.json update. #36

Open nrenard opened 3 weeks ago

nrenard commented 3 weeks ago

I guess you guys can add a simple example of include files as this example:

{
  "codeConnect": {
    "include": ["*.figma.tsx"],
    "exclude": ["test/**", "docs/**", "build/**"],

    "react": {
      "importPaths": {
        "src/components/*": "@ui/components"
      },

      "paths": {
        "@ui/components/*": ["src/components/*"]
      }
    }
  }
}

Like adding this *.figma.tsx, in the include line. :)

Thank you.