feat(tsbundle): add npmextra-driven custom bundles, base64-ts output and interactive init wizard

This commit is contained in:
2026-01-11 19:02:55 +00:00
parent 31f7cb98ea
commit 5c53602842
14 changed files with 1073 additions and 64 deletions

View File

@@ -12,3 +12,25 @@ export interface IEnvTransportOptions {
mode: 'test' | 'production';
argv: ICliOptions;
}
// Custom bundle configuration types
export type TOutputMode = 'bundle' | 'base64ts';
export type TBundler = 'esbuild' | 'rolldown' | 'rspack';
export interface IBundleConfig {
from: string;
to: string;
outputMode?: TOutputMode;
bundler?: TBundler;
production?: boolean;
includeFiles?: string[];
}
export interface ITsbundleConfig {
bundles: IBundleConfig[];
}
export interface IBase64File {
path: string;
contentBase64: string;
}