Dynamic Module Import with its own chunk dependencies
问题 I am trying to use Module Dynamic Import to create a bundle with an npm package using this is an excellent tutorial: https://webpack.js.org/guides/code-splitting/ But the npm package that I want to load dynamically has its own chunk dependencies: npm package chunk dependencies I can see that Webpack created correctly the vendor chunk: files generated But the npm package to import 's chunks are not re-imported, so it fails: the error I googled a lot but I couldn't find much information about