Become a member
Sign in
Tree-shaking in real world: what could go wrong?
337
5
Alex Kurochkin
Cihat Imamoglu
Cihat Imamoglu
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.

    Cihat Imamoglu

    Written by

    Cihat Imamoglu

    Write the first response

    Discover Medium

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

    Make Medium yours

    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

    Become a member

    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade
    AboutHelpLegal