fa45fa0a60
* Add export const config support and make withAmp a no-op * Use babel plugin for PageConfig * Fix serverless-loader exports * Add backwards compatibility for withAmp
16 lines
270 B
JavaScript
16 lines
270 B
JavaScript
import Foo from '../components/Foo'
|
|
import Bar from '../components/Bar'
|
|
|
|
export const config = { amp: true }
|
|
|
|
export default () => (
|
|
<div>
|
|
<Foo />
|
|
<Bar />
|
|
<style jsx global>{`
|
|
body {
|
|
background-color: green;
|
|
}
|
|
`}</style>
|
|
</div>
|
|
)
|