mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 23:22:02 +00:00
feat(nuxi): add jsx option to generated tsconfig (#3449)
This commit is contained in:
parent
b327a9c996
commit
7b6252a444
@ -10,6 +10,7 @@ export const writeTypes = async (nuxt: Nuxt) => {
|
|||||||
|
|
||||||
const tsConfig: TSConfig = defu(nuxt.options.typescript?.tsConfig, {
|
const tsConfig: TSConfig = defu(nuxt.options.typescript?.tsConfig, {
|
||||||
compilerOptions: {
|
compilerOptions: {
|
||||||
|
jsx: 'preserve',
|
||||||
target: 'ESNext',
|
target: 'ESNext',
|
||||||
module: 'ESNext',
|
module: 'ESNext',
|
||||||
moduleResolution: 'Node',
|
moduleResolution: 'Node',
|
||||||
|
Loading…
Reference in New Issue
Block a user