This test shows how to do simple code splitting with TypeScript and webpack. See the comments in app.ts for a quick overview of the process. More information can be found at these sites: https://www.typescriptlang.org/docs/handbook/modules.html#dynamic-module-loading-in-nodejs https://webpack.js.org/guides/code-splitting/ https://github.com/webpack/webpack/tree/master/examples/code-splitting