mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
42736c061a
* Add failing tests * Upgrade wd module * Pass dynamic import webpack ids to the client side * Pass through webpack ids to initalializer and only use those * Compile dynamic(import()) to dynamic(() => import()) * Default dynamicIds * Use forked hard-source-plugin * Possibly fix test * Make tests fail less intermittently * Temporarily disable hard-source in production * Make sure dynamic import chunks are unique * Disable hard-source * Log html if error is thrown * Fix test
6 lines
115 B
JavaScript
6 lines
115 B
JavaScript
import dynamic from 'next/dynamic'
|
|
|
|
const Hello = dynamic(import('../../components/hello1'))
|
|
|
|
export default Hello
|