0
Fork 0
mirror of https://github.com/mastra-ai/mastra.git synced 2026-11-17 08:44:46 +00:00

Fix symlinks and externals in bundler (#3071)

Rollup wasn't handling pnpm symlinks properly because of the
`preserveSymlinks` argument. We use this to make sure we get the actual
package name instead of weird symlink folder in our babel transforms.
The optimizer doesn't do any transforms so we do not need it.

As an addition we're now handling externals correctly.
This commit is contained in:
Ward Peeters 2025-03-20 14:08:54 +01:00 • committed by GitHub
commit 95c57453f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 126 additions and 28 deletions