Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix @opentelemetry/api aliasing for webpack (vercel#64085)
Next creates an alias for `@opentelemetry/api` to a prebundled version [here](https://github.com/vercel/next.js/blob/a9f85d14c0187a0a3dd08468bcb9d2be3cb4be40/packages/next/src/build/create-compiler-aliases.ts#L108-L110). However, there's a bug in `hasExternalOtelApiPackage` - it currently always fails to remove `@opentelemetry/api/package.json` because it's not one of the exports.
- Loading branch information