Skip to content

Fix excessive build logs in adapter packages - #14

Merged
JoviDeCroock merged 1 commit into
mainfrom
JoviDeCroock/fix-build-logs
Apr 7, 2026
Merged

Fix excessive build logs in adapter packages#14
JoviDeCroock merged 1 commit into
mainfrom
JoviDeCroock/fix-build-logs

Conversation

@JoviDeCroock

Copy link
Copy Markdown
Owner

Summary

  • Add @viact/vite-plugin to external in the tsdown configs for adapter-node, adapter-cloudflare, and adapter-vercel
  • The DTS bundler was following the type { ViactAdapter } import into vite-plugin's dependency chain (vite → postcss/esbuild), producing 375 MISSING_EXPORT warnings and 1.5MB of build output
  • Build output reduced from 3,019 lines to 82 lines

Test plan

  • pnpm build completes with 0 MISSING_EXPORT warnings
  • Build output is clean and concise

🤖 Generated with Claude Code

…er configs

The DTS bundler was crawling into vite-plugin's dependency chain (vite → postcss/esbuild),
producing 375 MISSING_EXPORT warnings (1.5MB of output). Adding @viact/vite-plugin to
external stops the bundler from resolving those transitive type dependencies.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@JoviDeCroock
JoviDeCroock merged commit 204da0c into main Apr 7, 2026
1 check passed
@JoviDeCroock
JoviDeCroock deleted the JoviDeCroock/fix-build-logs branch April 8, 2026 00:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant