mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 17:35:57 +00:00
fix(nuxi): set allowSyntheticDefaultImports
(#1827)
This commit is contained in:
parent
f2d4c65edb
commit
89aa7aa303
@ -17,6 +17,7 @@ export const writeTypes = async (nuxt: Nuxt) => {
|
|||||||
allowJs: true,
|
allowJs: true,
|
||||||
noEmit: true,
|
noEmit: true,
|
||||||
resolveJsonModule: true,
|
resolveJsonModule: true,
|
||||||
|
allowSyntheticDefaultImports: true,
|
||||||
types: ['node'],
|
types: ['node'],
|
||||||
baseUrl: relative(nuxt.options.buildDir, nuxt.options.rootDir),
|
baseUrl: relative(nuxt.options.buildDir, nuxt.options.rootDir),
|
||||||
paths: {}
|
paths: {}
|
||||||
|
Loading…
Reference in New Issue
Block a user