mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 09:25:54 +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,
|
||||
noEmit: true,
|
||||
resolveJsonModule: true,
|
||||
allowSyntheticDefaultImports: true,
|
||||
types: ['node'],
|
||||
baseUrl: relative(nuxt.options.buildDir, nuxt.options.rootDir),
|
||||
paths: {}
|
||||
|
Loading…
Reference in New Issue
Block a user