rsnext/test/unit
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
..
fixtures Add More Configuration File Options (#9713) 2019-12-11 16:56:47 -05:00
babel-plugin-next-ssg-transform.unit.test.js Break-up unit tests to separate step (#18992) 2020-11-10 12:25:50 -05:00
find-config.unit.test.js Break-up unit tests to separate step (#18992) 2020-11-10 12:25:50 -05:00
find-page-file.unit.test.js Break-up unit tests to separate step (#18992) 2020-11-10 12:25:50 -05:00
get-node-options-without-inspect.unit.test.js Break-up unit tests to separate step (#18992) 2020-11-10 12:25:50 -05:00
getDisplayName.unit.test.js Break-up unit tests to separate step (#18992) 2020-11-10 12:25:50 -05:00
handles-incorrect-react.unit.test.js Break-up unit tests to separate step (#18992) 2020-11-10 12:25:50 -05:00
htmlescape.unit.test.js Break-up unit tests to separate step (#18992) 2020-11-10 12:25:50 -05:00
is-serializable-props.unit.test.js Break-up unit tests to separate step (#18992) 2020-11-10 12:25:50 -05:00
link-rendering.unit.test.js Break-up unit tests to separate step (#18992) 2020-11-10 12:25:50 -05:00
loadGetInitialProps.unit.test.js Break-up unit tests to separate step (#18992) 2020-11-10 12:25:50 -05:00
mitt.unit.test.js Break-up unit tests to separate step (#18992) 2020-11-10 12:25:50 -05:00
next-babel-loader.unit.test.js Break-up unit tests to separate step (#18992) 2020-11-10 12:25:50 -05:00
next-babel.unit.test.js fix(next): resolve absolute path to @babel/runtime (#18921) 2020-11-11 15:18:33 +00:00
next-head-rendering.unit.test.js Break-up unit tests to separate step (#18992) 2020-11-10 12:25:50 -05:00
next-server-utils.unit.test.js Break-up unit tests to separate step (#18992) 2020-11-10 12:25:50 -05:00
oxford-comma.unit.test.js Break-up unit tests to separate step (#18992) 2020-11-10 12:25:50 -05:00
page-route-sorter.unit.test.js Break-up unit tests to separate step (#18992) 2020-11-10 12:25:50 -05:00
parse-relative-url.unit.test.js Break-up unit tests to separate step (#18992) 2020-11-10 12:25:50 -05:00
phaseConstants.unit.test.js Break-up unit tests to separate step (#18992) 2020-11-10 12:25:50 -05:00
recursive-copy.unit.test.js Break-up unit tests to separate step (#18992) 2020-11-10 12:25:50 -05:00
recursive-delete.unit.test.js Break-up unit tests to separate step (#18992) 2020-11-10 12:25:50 -05:00
recursive-readdir.unit.test.js Break-up unit tests to separate step (#18992) 2020-11-10 12:25:50 -05:00
router-add-base-path.unit.test.js Break-up unit tests to separate step (#18992) 2020-11-10 12:25:50 -05:00
webpack-config-overrides.unit.test.js Break-up unit tests to separate step (#18992) 2020-11-10 12:25:50 -05:00