babel-plugin-react-intl
Version:
Extracts string messages for translation from modules that use React Intl.
19 lines (18 loc) • 721 B
JSON
{
"type": "object",
"properties": {
"moduleSourceName": { "type": "string" },
"overrideIdFn": {
"instanceof": "Function",
"tsType": "(id?: string, defaultMessage?: string, description?: string, filePath?: string) => string"
},
"idInterpolationPattern": { "type": "string" },
"removeDefaultMessage": { "type": "boolean" },
"additionalComponentNames": { "type": "array", "items": { "type": "string" } },
"pragma": { "type": "string" },
"extractFromFormatMessageCall": { "type": "boolean" },
"extractSourceLocation": { "type": "boolean" },
"ast": { "type": "boolean" }
},
"additionalProperties": false
}