fix(packages): omit source publication payloads

This commit is contained in:
imccyu
2026-08-04 22:06:32 +08:00
parent 7557de1131
commit ca27512529
194 changed files with 292 additions and 558 deletions

View File

@@ -69,7 +69,7 @@ function browserSourcePath(source: string, sourcemapPath: string): string {
* own tsdown.config.ts (a preset-side glob hides it from the mechanical check).
* @returns tsdown user configs emitting lib/*.js and lib/client.js.
*/
export function clientBundle(id: string, libEntry: readonly string[]): UserConfig[] {
export function clientBundle(id: string, libEntry: readonly string[]): [UserConfig, UserConfig] {
return [{
entry: [...libEntry],
outDir: 'lib',