mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 23:22:02 +00:00
fix(kit): revert back to esnext
target
This commit is contained in:
parent
dccf2e5f35
commit
7bb02735e7
@ -135,7 +135,7 @@ export async function _generateTypes (nuxt: Nuxt) {
|
|||||||
/* Base options: */
|
/* Base options: */
|
||||||
esModuleInterop: true,
|
esModuleInterop: true,
|
||||||
skipLibCheck: true,
|
skipLibCheck: true,
|
||||||
target: 'es2022',
|
target: 'ESNext',
|
||||||
allowJs: true,
|
allowJs: true,
|
||||||
resolveJsonModule: true,
|
resolveJsonModule: true,
|
||||||
moduleDetection: 'force',
|
moduleDetection: 'force',
|
||||||
@ -147,11 +147,11 @@ export async function _generateTypes (nuxt: Nuxt) {
|
|||||||
forceConsistentCasingInFileNames: true,
|
forceConsistentCasingInFileNames: true,
|
||||||
noImplicitOverride: true,
|
noImplicitOverride: true,
|
||||||
/* If NOT transpiling with TypeScript: */
|
/* If NOT transpiling with TypeScript: */
|
||||||
module: hasTypescriptVersionWithModulePreserve ? 'preserve' : 'es2022',
|
module: hasTypescriptVersionWithModulePreserve ? 'preserve' : 'ESNext',
|
||||||
noEmit: true,
|
noEmit: true,
|
||||||
/* If your code runs in the DOM: */
|
/* If your code runs in the DOM: */
|
||||||
lib: [
|
lib: [
|
||||||
'es2022',
|
'ESNext',
|
||||||
'dom',
|
'dom',
|
||||||
'dom.iterable',
|
'dom.iterable',
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user