mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
f620b8f455
* Don’t use chunkhash in development * Add test for dynamic imports styling * Remove pre-load of dynamic page * Make sure the browser gets closed only once
11 lines
189 B
JavaScript
11 lines
189 B
JavaScript
import React from 'react'
|
|
import dynamic from 'next/dynamic'
|
|
|
|
const HmrDynamic = dynamic(import('../../components/hmr/dynamic'))
|
|
|
|
export default () => {
|
|
return (
|
|
<HmrDynamic />
|
|
)
|
|
}
|