rsnext/test/unit/fixtures/page-runtime/nodejs-ssr.js
Shu Ding b122178ead
Decouple entries for server components and client components (#36860)
* (wip)

* dev mode

* build mode

* update comment

* fix tests

* fix _N_SSP and _N_SSG exports

* fix missing variables

* fix api route bug

* fix compiler stats

* fix lint errors

* add extra cache group for edge server

* fix test

* fix test

* fix views route meta and entries

* fix linter error

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-05-13 19:48:53 +02:00

12 lines
182 B
JavaScript

export default function Nodejs() {
return 'nodejs'
}
export function getServerSideProps() {
return { props: {} }
}
export const config = {
amp: false,
runtime: 'nodejs',
}