Skip to content

Commit

Permalink
fix(cli): allow non-existent experimental option
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Jul 14, 2023
1 parent 826f82a commit 0643d43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nuxi/src/utils/prepare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const writeTypes = async (nuxt: Nuxt) => {
jsx: 'preserve',
target: 'ESNext',
module: 'ESNext',
moduleResolution: nuxt.options.experimental.typescriptBundlerResolution ? 'Bundler' : 'Node',
moduleResolution: nuxt.options.experimental?.typescriptBundlerResolution ? 'Bundler' : 'Node',
skipLibCheck: true,
strict: nuxt.options.typescript?.strict ?? true,
allowJs: true,
Expand Down

0 comments on commit 0643d43

Please sign in to comment.