Replies: 2 comments 1 reply
-
Are you wondering if... a.) the node module should be in the dynamically loaded bundle? or b.) the node module should not be in the dynamically loaded bundle? |
Beta Was this translation helpful? Give feedback.
1 reply
-
If you import a npm dependency into a dynamically loaded bundle that dependency will be bundled inside the bundle. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
i thought npm package used inside the component which should never be loaded dynamically,
should not be bundled, but am i doing wrong or misunderstanding next/dynamic?
↓ "zengin-code" in this example
https://github.com/kodai3/dynamic-import-minimal-repo
Beta Was this translation helpful? Give feedback.
All reactions