build: inject createElement alias (#176)

This commit is contained in:
Ven 2022-10-29 20:27:48 +02:00 committed by GitHub
parent 37105ac416
commit 93859883c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 40 additions and 22 deletions

View file

@ -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/**/*"]
}