Sep 7, 2018 · 1 min read
Another possible issue (at least documented in the webpack docs):
ModuleConcatenationPlugin is needed for the tree shaking to work. It is added by
mode: "production". If you are not using it, remember to add the ModuleConcatenationPlugin manually.