lasso-js-samples / lasso-code-splitting

1 stars 1 forks source link

lasso-code-splitting

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.

Installation

git clone https://github.com/lasso-js-samples/lasso-code-splitting.git
cd lasso-code-splitting
npm install

Running

node server.js