Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

packages/next: opt ts-morph into serverExternalPackages #67284

Merged
merged 1 commit into from
Jun 29, 2024

Conversation

MaxLeiter
Copy link
Member

What?

Adds ts-morph (https://ts-morph.com/) to the serverExternalPackages defaults (and the relevant docs)

Why?

I was debugging an extremely slow to load Next.js Route Handler (20+ seconds to be invoked) and it was due to bundling ts-morph (which pulls in typescript)

How?

@ijjk ijjk added Documentation Related to Next.js' official documentation. type: next labels Jun 28, 2024
@huozhi huozhi merged commit 862a896 into vercel:canary Jun 29, 2024
2 checks passed
@MaxLeiter MaxLeiter deleted the max/06-28-tsmorph-external branch June 29, 2024 23:40
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Documentation Related to Next.js' official documentation. locked type: next
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants