mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
AMP will still not work correctly when switching between non-AMP and AMP pages in development mode because of https://github.com/vercel/next.js/blob/canary/packages/next/build/babel/plugins/next-page-config.ts#L116-L120. Fixes #15704.
6 lines
120 B
JavaScript
6 lines
120 B
JavaScript
const props = { amp: true }
|
|
|
|
// export const config = { ...props }
|
|
|
|
export default () => <p>{JSON.stringify(props)}</p>
|