Add support for reading JSX config from tsconfig.json

This commit is contained in:
Jarred Sumner
2021-10-06 16:49:26 -07:00
parent 0afec7739b
commit 5370ea71c0
12 changed files with 98 additions and 19 deletions

View File

@@ -405,7 +405,7 @@ pub const Arguments = struct {
jsx_fragment != null or
jsx_import_source != null or
jsx_runtime != null or
jsx_production or react_fast_refresh)
jsx_production or !react_fast_refresh)
{
var default_factory = "".*;
var default_fragment = "".*;