mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
### What? The turbopack browser runtime was throwing an error when trying to access `import.meta.url`. Closes PACK-3095 Fixes https://github.com/vercel/next.js/issues/66005
8 lines
141 B
TypeScript
8 lines
141 B
TypeScript
export default function Page() {
|
|
const data = {
|
|
url: import.meta.url,
|
|
}
|
|
|
|
return <div id="test-data">{JSON.stringify(data)}</div>
|
|
}
|