Thanks to @hlehmann for the changes with #2
Breaking changes
Which should have been default behaviour all along
If you are chunking your files (code-splitting etc.), this plugin should now detect all modules across all chunks and generate a package.json including all of them.