rollup-starter-code-splitting
rollup-starter-code-splitting copied to clipboard
Starter project with code-splitting and dynamic imports, for modern and legacy browsers
The documentation and example don't really cover how to create es modules with dependent node_modules which are in commonJs format anywhere. I guess this will be more realistic use case...
It would be useful to demonstrate a bulletproof way to minify output bundles with code-splitting. I'm having trouble on certain edge cases, after working through multiple methods.


I'm trying to add code splitting to my rollup environment, but watch seems to break within this demo. I guess that using an array as entrypoint may breaks watch.
### Issue Description The README provides a brief overview of code-splitting and dynamic imports using Rollup, but it lacks detailed explanations regarding how the code-splitting functionality works and the implications...