harshal patel
harshal patel

Reputation: 1

Webpack generating child chunks for dynamic imported modules

I'm using react-loadable to dynamically import the route component, webpack is generating the chunk file but the issue is that the child modules that are imported inside the dynamically imported component is also generated in a separate chunk file. So it's generating multiple chunk files. I tried /* webpackChunkName: "lazyComponent" */ but it didn't worked

Upvotes: 0

Views: 114

Answers (0)

Related Questions