mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +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: {
|
||||
jsxFactory: 'h',
|
||||
jsxFragment: 'Fragment'
|
||||
jsxFragment: 'Fragment',
|
||||
tsconfigRaw: '{}'
|
||||
},
|
||||
publicDir: resolve(nuxt.options.srcDir, nuxt.options.dir.static),
|
||||
clearScreen: false,
|
||||
|
@ -63,7 +63,8 @@ export async function bundle (nuxt: Nuxt) {
|
||||
},
|
||||
esbuild: {
|
||||
jsxFactory: 'h',
|
||||
jsxFragment: 'Fragment'
|
||||
jsxFragment: 'Fragment',
|
||||
tsconfigRaw: '{}'
|
||||
},
|
||||
clearScreen: false,
|
||||
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