diff --git a/packages/core/src/lib/create-admin-meta.ts b/packages/core/src/lib/create-admin-meta.ts index 579f12eb018..f9e897fade6 100644 --- a/packages/core/src/lib/create-admin-meta.ts +++ b/packages/core/src/lib/create-admin-meta.ts @@ -7,7 +7,7 @@ import type { KeystoneContext, JSONValue, MaybeItemFunction, -} from '../../types' +} from '../types' import type { FilterOrderArgs } from '../types/config/fields' import { humanize } from './utils' diff --git a/packages/core/src/system.ts b/packages/core/src/system.ts index 433852d6b43..8d45f48fcdc 100644 --- a/packages/core/src/system.ts +++ b/packages/core/src/system.ts @@ -1,6 +1,6 @@ import type express from 'express' import next from 'next' -import type { KeystoneConfig, KeystoneContext } from '../types' +import type { KeystoneConfig, KeystoneContext } from './types' import { createAdminUIMiddlewareWithNextApp } from './lib/server/createAdminUIMiddleware' /** @deprecated */ diff --git a/tsconfig.json b/tsconfig.json index 2f075eca13c..6ba4613c04f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,7 +7,7 @@ "isolatedModules": true, "jsx": "react", "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "bundler", "noEmit": true, "noUnusedLocals": true, "resolveJsonModule": true,