Sean T. Larkin
Sep 9, 2018 · 1 min read

Technically this is inaccurate. The benefits of code splitting is that you are waiting until some async operation/event to trigger to then use `import()` to lazy load the module you need.

It may change a static import to a call expression that returns a promise, however, you will only be code splitting (if done correctly) during an async event/callback/situation.

    Sean T. Larkin

    Written by

    @Webpack Core team & AngularCLI team. Program Manager @Microsoft @EdgeDevTools. Web Performance, JavaScripter, Woodworker, 🐓 Farmer, and Gardener!

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade