react-code-dataset
/
next.js
/crates
/next-custom-transforms
/tests
/fixture
/next-dynamic
/member-with-same-name
/output-prod.js
| import dynamic from 'next/dynamic'; | |
| import somethingElse from 'something-else'; | |
| const DynamicComponent = dynamic(()=>import('../components/hello') | |
| , { | |
| loadableGenerated: { | |
| webpack: ()=>[ | |
| require.resolveWeak("../components/hello") | |
| ] | |
| } | |
| }); | |
| somethingElse.dynamic('should not be transformed'); | |