Lazy loading: code splitting with @NgModules Webpack config includes development and AoT for code splitting and lazy loading modules. Check out the live demo Read the blog You can checkout the full blog post for more on lazy loading, code splitting and how to do it with Webpack.