mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 09:25:54 +00:00
fix(nuxi): handle missing typescript options in build (#1972)
This commit is contained in:
parent
86a47a2fea
commit
f3a1ac5c59
@ -14,7 +14,7 @@ export const writeTypes = async (nuxt: Nuxt) => {
|
||||
module: 'ESNext',
|
||||
moduleResolution: 'Node',
|
||||
skipLibCheck: true,
|
||||
strict: nuxt.options.typescript.strict,
|
||||
strict: nuxt.options.typescript?.strict ?? false,
|
||||
allowJs: true,
|
||||
noEmit: true,
|
||||
resolveJsonModule: true,
|
||||
|
Loading…
Reference in New Issue
Block a user