rsnext/test/integration/production/pages/another.js
JJ Kasper e465e90fe5
Fix native-url containing non-es5 usage (#30474)
This ensures we don't add non-es5 code from ncc'ing 

Fixes: https://github.com/vercel/next.js/issues/30450

## Bug

- [x] Related issues linked using `fixes #number`
- [x] Integration tests added
- [x] Errors have helpful link attached, see `contributing.md`
2021-10-27 20:13:28 +00:00

13 lines
216 B
JavaScript

import url from 'url'
import Link from 'next/link'
console.log(url.parse('https://example.com'))
export default () => (
<div>
<Link href="/">
<a>Index Page</a>
</Link>
<p>Another</p>
</div>
)