mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +00:00
fix(vite, bridge): avoid vite resolving tsconfig.json
(#1677)
This commit is contained in:
parent
673eccb575
commit
85f39858e5
@ -61,7 +61,8 @@ async function bundle (nuxt: Nuxt, builder: any) {
|
|||||||
},
|
},
|
||||||
esbuild: {
|
esbuild: {
|
||||||
jsxFactory: 'h',
|
jsxFactory: 'h',
|
||||||
jsxFragment: 'Fragment'
|
jsxFragment: 'Fragment',
|
||||||
|
tsconfigRaw: '{}'
|
||||||
},
|
},
|
||||||
publicDir: resolve(nuxt.options.srcDir, nuxt.options.dir.static),
|
publicDir: resolve(nuxt.options.srcDir, nuxt.options.dir.static),
|
||||||
clearScreen: false,
|
clearScreen: false,
|
||||||
|
@ -63,7 +63,8 @@ export async function bundle (nuxt: Nuxt) {
|
|||||||
},
|
},
|
||||||
esbuild: {
|
esbuild: {
|
||||||
jsxFactory: 'h',
|
jsxFactory: 'h',
|
||||||
jsxFragment: 'Fragment'
|
jsxFragment: 'Fragment',
|
||||||
|
tsconfigRaw: '{}'
|
||||||
},
|
},
|
||||||
clearScreen: false,
|
clearScreen: false,
|
||||||
build: {
|
build: {
|
||||||
|
3
test/fixtures/bridge/tsconfig.json
vendored
Normal file
3
test/fixtures/bridge/tsconfig.json
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"extends": "./.nuxt/tsconfig.json"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user