mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
14 lines
355 B
JavaScript
14 lines
355 B
JavaScript
import { getReactConditionJson } from '../../lib/react-version'
|
|
|
|
// Adding URL dependency to edge api, it shouldn't break the build
|
|
console.log(
|
|
'TEST_URL_DEPENDENCY',
|
|
import(new URL('./style.css', import.meta.url).href)
|
|
)
|
|
|
|
export default async (_req) => {
|
|
return Response.json(getReactConditionJson())
|
|
}
|
|
|
|
export const runtime = 'experimental-edge'
|