mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-03 16:38:31 +00:00
* Configure the project to allow the use of JSX in .jsx files. * Add linting for JSX. * Rewrite most existing code that uses `createElement` to use JSX syntax. * Stop importing `createElement as e`. That's what the minifier is for. And we don't have to write it manually so much now because of JSX syntax.
8 lines
No EOL
109 B
Text
8 lines
No EOL
109 B
Text
{
|
|
"plugins": [
|
|
"syntax-dynamic-import",
|
|
["transform-react-jsx", {
|
|
"pragma": "createElement"
|
|
}]
|
|
]
|
|
} |