@strapi/pack-up
Version:
Simple tools for creating interoperable CJS & ESM packages.
18 lines (17 loc) • 409 B
TypeScript
interface DtsTaskEntry {
importId: string;
exportPath: string;
sourcePath: string;
targetPath: string;
/**
* Allow a particular task to have it's own tsconfig
* great for when you're creating a server & web bundle
* package.
*/
tsconfig?: string;
}
interface DtsBaseTask {
type: string;
entries: DtsTaskEntry[];
}
export type { DtsBaseTask, DtsTaskEntry };