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.
- ...