mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 21:55:11 +00:00
fix(cli): allow non-existent experimental
option
This commit is contained in:
parent
826f82a6da
commit
0643d4315b
@ -17,7 +17,7 @@ export const writeTypes = async (nuxt: Nuxt) => {
|
|||||||
jsx: 'preserve',
|
jsx: 'preserve',
|
||||||
target: 'ESNext',
|
target: 'ESNext',
|
||||||
module: 'ESNext',
|
module: 'ESNext',
|
||||||
moduleResolution: nuxt.options.experimental.typescriptBundlerResolution ? 'Bundler' : 'Node',
|
moduleResolution: nuxt.options.experimental?.typescriptBundlerResolution ? 'Bundler' : 'Node',
|
||||||
skipLibCheck: true,
|
skipLibCheck: true,
|
||||||
strict: nuxt.options.typescript?.strict ?? true,
|
strict: nuxt.options.typescript?.strict ?? true,
|
||||||
allowJs: true,
|
allowJs: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user