Develop an automated test for #287, see good starting point shared by the author: #287 (comment).
The test should do npm pack and npm install in various setups. Fake usage code should import symbols from all entry points.
It should be possible to extend the check added in #210.