diff --git a/packages/nuxi/src/utils/dev.ts b/packages/nuxi/src/utils/dev.ts index 8f56faa88..68c53d679 100644 --- a/packages/nuxi/src/utils/dev.ts +++ b/packages/nuxi/src/utils/dev.ts @@ -1,6 +1,6 @@ import type { Nuxt, NuxtConfig } from '@nuxt/schema' import type { FSWatcher } from 'chokidar' -import type { Jiti } from 'jiti/lib/types' +import type { Jiti } from 'jiti' import type { HTTPSOptions, Listener, ListenOptions, ListenURL } from 'listhen' import type { RequestListener, ServerResponse } from 'node:http' import type { AddressInfo } from 'node:net' diff --git a/tsconfig.json b/tsconfig.json index c31884d26..3de196cd9 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,7 +2,7 @@ "compilerOptions": { "target": "ESNext", "module": "ESNext", - "moduleResolution": "Node", + "moduleResolution": "Bundler", "resolveJsonModule": true, "allowJs": true, "strict": true,