mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +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',
|
module: 'ESNext',
|
||||||
moduleResolution: 'Node',
|
moduleResolution: 'Node',
|
||||||
skipLibCheck: true,
|
skipLibCheck: true,
|
||||||
strict: nuxt.options.typescript.strict,
|
strict: nuxt.options.typescript?.strict ?? false,
|
||||||
allowJs: true,
|
allowJs: true,
|
||||||
noEmit: true,
|
noEmit: true,
|
||||||
resolveJsonModule: true,
|
resolveJsonModule: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user