rsnext/test/integration/process-env-stub/pages/missing-gssp.js
JJ Kasper 20c7b5c50d
Add initial process.env stubbing for new env support (#11893)
* Add initial process.env stubbing for new env support

* Fix server process.env being stubbed in production

* bump

Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-04-15 02:42:37 -04:00

12 lines
188 B
JavaScript

export default () => {
return <p>hi there 👋</p>
}
export const getServerSideProps = () => {
console.log(process.env.SECRET)
return {
props: {
hi: 'there',
},
}
}