* Added tests for ifThrowNamespace flag * JSX transformator could work with XMLNamespaces (ifThrowNamespace flag) * Use template literal instead * Attempt to reword the message * Added docs * Reworded docs * Reworded docs * Fixed missing space in error message
13 lines
308 B
JSON
13 lines
308 B
JSON
{
|
|
"plugins": [
|
|
[
|
|
"transform-react-jsx",
|
|
{
|
|
"pragma": "h",
|
|
"throwIfNamespace": true
|
|
}
|
|
]
|
|
],
|
|
"throws": "Namespace tags are not supported by default. React's JSX doesn't support namespace tags. You can turn on the 'throwIfNamespace' flag to bypass this warning."
|
|
}
|