You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The user guide has a section on code splitting that focuses on dynamic import. However, I don't see any info on preventing duplication.
The webpack code splitting guide and bundle-buddy recommend using CommonsChunkPlugin to prevent code duplication across multiple chunks. However, it seems that CRA is not using CommonsChunkPlugin. Is the duplication being prevented via some other mechanism? If not, would you be open to a PR that adds CommonsChunkPlugin to webpack.config.prod.js.
Thanks!
The text was updated successfully, but these errors were encountered:
winkerVSbecks
changed the title
Code splitting and preventing duplication CommonsChunkPlugin
Code splitting and preventing duplication
Jan 9, 2018
Is this a bug report?
Not a bug but, looking for some clarification
Which terms did you search for in User Guide?
Code Splitting, CommonsChunkPlugin, bundle-buddy
The user guide has a section on code splitting that focuses on dynamic import. However, I don't see any info on preventing duplication.
The webpack code splitting guide and bundle-buddy recommend using
CommonsChunkPlugin
to prevent code duplication across multiple chunks. However, it seems that CRA is not usingCommonsChunkPlugin
. Is the duplication being prevented via some other mechanism? If not, would you be open to a PR that addsCommonsChunkPlugin
towebpack.config.prod.js
.Thanks!
The text was updated successfully, but these errors were encountered: