feat(tsbundle): add npmextra-driven custom bundles, base64-ts output and interactive init wizard
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user