build: inject createElement alias (#176)
This commit is contained in:
parent
37105ac416
commit
93859883c1
7 changed files with 40 additions and 22 deletions
|
|
@ -14,11 +14,7 @@
|
|||
"strict": true,
|
||||
"noImplicitAny": false,
|
||||
"target": "ESNEXT",
|
||||
// https://esbuild.github.io/api/#jsx-factory
|
||||
// these short window aliases make the bundle ~10% smaller
|
||||
"jsxFactory": "_Ve$",
|
||||
"jsxFragmentFactory": "_VF$",
|
||||
"jsx": "react"
|
||||
"jsx": "preserve"
|
||||
},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue