This sample app demonstrates how to use code splitting to separate out JavaScript and CSS that is common across multiple pages into a separate bundle that is shared by both pages. Any JavaScript and CSS that is not common is added to a separate page-specific bundle.
git clone https://github.com/lasso-js-samples/lasso-code-splitting.git
cd lasso-code-splitting
npm install
node server.js