564eac4746
* Don't transpile styled-jsx in server mode * Add test fo styled-jsx-module * Add styled-jsx as dependency of next-server
12 lines
189 B
JavaScript
12 lines
189 B
JavaScript
import { Button } from 'my-comps/button'
|
|
|
|
export const config = { amp: true }
|
|
|
|
const Index = () => (
|
|
<>
|
|
<p>Hello world</p>
|
|
<Button>Click me</Button>
|
|
</>
|
|
)
|
|
|
|
export default Index
|