This is a rather tricky webpack build chunking issue.
Since I am no expert on webpack, help on this one would be appreciated.
In short:
The non dist version dynamically imports (lazy loads) each example app as soon as you want to view it. To make this work for the dist versions, webpack needs to be aware of the chunking. Meaning: it must be guaranteed, that each example app only requires the modules which are not already there and by default webpack tends to create multiple modules for the same base classes (e.g. more than 1 IdGenerator class is a big problem).
This is a rather tricky webpack build chunking issue. Since I am no expert on webpack, help on this one would be appreciated.
In short: The non dist version dynamically imports (lazy loads) each example app as soon as you want to view it. To make this work for the dist versions, webpack needs to be aware of the chunking. Meaning: it must be guaranteed, that each example app only requires the modules which are not already there and by default webpack tends to create multiple modules for the same base classes (e.g. more than 1 IdGenerator class is a big problem).