mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
efc5ae42a8
### What? * rename test case * improve error message and handle edge case for require resolving * fix test case actually testing externals (webpack was silently bundling, Turbopack showed error that helped to find the broken test case) ### Why? ### How? Closes PACK-2662
11 lines
180 B
JSON
11 lines
180 B
JSON
{
|
|
"name": "invalid-esm-package",
|
|
"exports": {
|
|
"./entry": {
|
|
"browser": "./browser.js",
|
|
"import": "./correct.js",
|
|
"require": "./alternative.js"
|
|
}
|
|
}
|
|
}
|