Become a member
Sign in
Webpack (v4) Code Splitting using SplitChunksPlugin
2.2K
10
Uday Hiwarale
Nagesh Fultambkar
Nagesh Fultambkar
Sep 4, 2018 · 1 min read

Thank You for your article. It helped me lot.

but i am facing one problem. I follow all step as you say it worked in development mode perfectly but in production the lazy component is not loading.

My screen only showing

const LoadingComponent = () => <h3>please wait…</h3>

this component in production mode.

I executed your code.In your code i am facing same problem.

    Nagesh Fultambkar

    Written by

    Nagesh Fultambkar

    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