rsnext/test/integration/externalize-next-server/app/pages/index.js
Joe Haddad 1199c235b1
Externalize next-server from Server Builds (#11819)
* Externalize  from Server Builds

* Windows Compatibility for Plugins

* Only check for windows path on windows

* add comments
2020-04-11 12:36:06 +02:00

12 lines
166 B
JavaScript

import MyComp from 'comps'
const Page = () => (
<>
<p>Hello {typeof window}</p>
<MyComp />
</>
)
Page.getInitialProps = () => ({})
export default Page