mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
### Tests * keep node & edge for streaming * separate rsc tests from streaming tests * move rsc tests to app-dir, disable the broken ones for now
15 lines
234 B
JavaScript
15 lines
234 B
JavaScript
let EOF
|
|
|
|
if (typeof window === 'undefined') {
|
|
EOF = require('dns').EOF
|
|
}
|
|
|
|
export default function Index() {
|
|
console.log(EOF)
|
|
return 'Access Node.js native module dns'
|
|
}
|
|
|
|
export const config = {
|
|
runtime: 'experimental-edge',
|
|
}
|