Files
Tobias KoppersandGitHub efc5ae42a8 Turbopack: app externals test case improvements (#62871)
### 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
2024-03-14 07:22:40 +00:00

4 lines
99 B
JavaScript

export default 'World'
if (!process.browser) throw new Error('Browser only code in server build')