@storm-software/build-tools
Version:
A comprehensive set of tools for building and managing projects within a Storm workspace. Includes builders such as rollup, rolldown, tsup, and unbuild, along with various utilities.
22 lines (19 loc) • 847 B
TypeScript
import { S as StormWorkspaceConfig } from '../types-BL-PZK84.js';
import { Entry } from '../types.js';
import 'zod';
import 'zod/mini';
/**
* Get the entry points for the build process
*
* @remarks
* This function will also convert a glob pattern (or patterns) into a list of files
*
* @param config - The Storm configuration
* @param projectRoot - The root of the project
* @param sourceRoot - The root of the source files
* @param entry - The entry point(s) for the build process
* @param emitOnAll - Add an entry point for all files in the source root
* @returns The entry points (relative to the `projectRoot` path) for the build process
*/
declare const getEntryPoints: (config: StormWorkspaceConfig, projectRoot: string, sourceRoot?: string, entry?: Entry, emitOnAll?: boolean) => Promise<string[]>;
export { getEntryPoints };