Skip to content

[CLI] Support programatic configuration #347

@dambaron

Description

@dambaron

Currently the CLI is configured through the figma.config.json file.

It would be nice to support other config files formats like:

  • figma.config.js
  • figma.config.cjs
  • figma.config.mjs
  • figma.config.ts
  • figma.config.mts

Doing so could bring benefits like

  • Config validation by the IDE (if types are exposed)
  • Export node URL substitutions as constants and import them into the mapping files.
  • ...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions