From 5917fc277cd6282f81abd90fc912c16767e58cd5 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Sun, 2 Mar 2025 23:18:08 +0000 Subject: [PATCH] chore: update to use `bundler` module resolution --- packages/nuxi/src/utils/dev.ts | 2 +- tsconfig.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,