feat(exports): expose mod_custom, mod_output and interfaces from entry; make processSingleBundle public
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## 2026-02-24 - 2.9.0 - feat(exports)
|
||||
expose mod_custom, mod_output and interfaces from entry; make processSingleBundle public
|
||||
|
||||
- Exported ./mod_custom, ./mod_output and ./interfaces from ts/index.ts to expose these modules in the public API.
|
||||
- Changed processSingleBundle in ts/mod_custom/index.ts from private to public to allow programmatic invocation.
|
||||
- Non-breaking API expansion; recommend a minor version bump.
|
||||
|
||||
## 2026-02-24 - 2.8.4 - fix()
|
||||
no changes — empty diff, nothing to commit
|
||||
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@git.zone/tsbundle',
|
||||
version: '2.8.4',
|
||||
version: '2.9.0',
|
||||
description: 'a multi-bundler tool supporting esbuild, rolldown, and rspack for painless bundling of web projects'
|
||||
}
|
||||
|
||||
@@ -11,4 +11,7 @@ early.stop();
|
||||
export * from './tsbundle.class.tsbundle.js';
|
||||
export * from './mod_assets/index.js';
|
||||
export * from './mod_html/index.js';
|
||||
export * from './mod_custom/index.js';
|
||||
export * from './mod_output/index.js';
|
||||
export * from './interfaces/index.js';
|
||||
export { runCli };
|
||||
|
||||
@@ -48,7 +48,7 @@ export class CustomBundleHandler {
|
||||
/**
|
||||
* Process a single bundle configuration
|
||||
*/
|
||||
private async processSingleBundle(bundleConfig: interfaces.IBundleConfig): Promise<void> {
|
||||
public async processSingleBundle(bundleConfig: interfaces.IBundleConfig): Promise<void> {
|
||||
const outputMode = bundleConfig.outputMode || 'bundle';
|
||||
const bundler = bundleConfig.bundler || 'esbuild';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user