SyntaxError: [vite] The requested module '@pothos/core' does not provide an export named 'MutationFieldsShape'
in the generated utils module. I think this is because the type imports are not marked as such, e.g.
import {
type FieldOptionsFromKind,
type InputFieldMap,
type InterfaceParam,
MutationFieldBuilder,
type MutationFieldsShape,
ObjectRef,
QueryFieldBuilder,
type QueryFieldsShape,
type TypeParam
} from '@pothos/core';
import {
type PrismaFieldOptions,
type PrismaObjectTypeOptions,
type RelatedFieldOptions
} from '@pothos/plugin-prisma';
Vite throws this error:
in the generated utils module. I think this is because the type imports are not marked as such, e.g.
instead of the current
Would it be possible to adjust this?