beesbuild
Version:
构建工具链
31 lines (30 loc) • 847 B
TypeScript
import type { BuildEntry as IBuildEntry } from 'unbuild';
import type { BuildContext } from '../types';
import type { CompilerOptions } from 'typescript';
export type BuildEntry = string | {
input: string;
isEntry: boolean;
} | IBuildEntry;
export declare const FILE_EXT: string[];
export declare const handleBuildFiles: (ctx: BuildContext, options?: Partial<{
handle?: string;
filePrefix?: string;
ext?: string;
}>) => BuildEntry[];
export declare function handleTypeOption(ctx: BuildContext): {
isVue: boolean;
outRootDir: any;
typesCacheDir: any;
entryFilepath: any;
compilerOptions: CompilerOptions;
tsconfigPath: any;
tsConfigFilePath: any;
rootDir: string;
entries: (IBuildEntry & {
isEntry?: boolean;
})[];
output: {
path: any;
name: string;
};
};