3970a26b92
* Adjust lib chunk naming algorithm and prevent duplicate react-dom * Remove alias for react-dom and update separator replacement logic * Add comment to webpack-config * Add integration test for react-dom duplication * Switch to using hash for lib chunk names * remove extra file from PR * Remove another extraneous change * Remove test based on lib chunk name * Update index.test.js
16 lines
243 B
JavaScript
16 lines
243 B
JavaScript
import * as _ from 'lodash'
|
|
import dynamic from 'next/dynamic'
|
|
|
|
const One = dynamic(() => import('../components/one'))
|
|
|
|
const Page = () => {
|
|
console.log(_)
|
|
return (
|
|
<div>
|
|
page2
|
|
<One />
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default Page
|