rsnext/packages/next/build/babel
Kristoffer K d40d7d6562
fix(next): resolve absolute path to @babel/runtime (#18921)
**What's the problem this PR addresses?**

https://github.com/vercel/next.js/pull/18768 started to ncc `@babel/plugin-transform-runtime` which broke its Yarn PnP support since the version of `resolve` it uses can't be patched by Yarn.

Fixes https://github.com/yarnpkg/berry/runs/1359235077?check_suite_focus=true#step:5:79

cc @guybedford

**How did you fix it?**

Resolve the absolute path to `@babel/runtime` so it doesn't have to go through `resolve`

---

Fixes https://github.com/vercel/next.js/issues/19026
2020-11-11 15:18:33 +00:00
..
plugins ncc 0.25.0 upgrade and fixes (#18873) 2020-11-06 02:33:14 +00:00
preset.ts fix(next): resolve absolute path to @babel/runtime (#18921) 2020-11-11 15:18:33 +00:00