polen
Version:
A framework for delightful GraphQL developer portals
16 lines • 640 B
TypeScript
import type { Vite } from '#dep/vite/index';
import type * as Module from 'node:module';
export interface SelfContainedModeHooksData {
projectDirPathExp: string;
}
export declare function initialize(data: SelfContainedModeHooksData): void;
export declare const resolve: Module.ResolveHook;
export declare const checkIsSelfImportFromProject: (input: {
specifier: string;
importerPathExpOrFileUrlExp: string;
projectDirPathExp: string;
}) => boolean;
export declare const VitePluginSelfContainedMode: ({ projectDirPathExp }: {
projectDirPathExp: string;
}) => Vite.Plugin;
//# sourceMappingURL=self-contained-mode.d.ts.map