Rollup code-splitting demo
See the source code on GitHub