mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Collect telemetry info about packages are used and eliminated in `getServerSideProps` https://github.com/vercel/next-telemetry/pull/71 Co-authored-by: JJ Kasper <[email protected]>
11 lines
200 B
JavaScript
11 lines
200 B
JavaScript
import http from 'http'
|
|
import config from './data.json'
|
|
|
|
export default () => 'Hello World'
|
|
|
|
export function getServerSideProps() {
|
|
console.log(http)
|
|
console.log(config)
|
|
return { props: {} }
|
|
}
|