Possible solution to #1057
Since conversation in #1057 is disabled I just want to provide possible solution to not working "code preview" so that anyone with the same problem could solve the issue.
When someone is using Webpack 4, removing optimization.splitChunks section from webpack config should solve the issue:

Looks like the line import('rsg-components/Editor/Editor').then(function (module) from EditorLoader:36 is causing the problem when splitChunks optimization is enabled.
Seems like splitChunks config is not needed for dev webpack config but from what I can see even CRA is using the same dev configuration so for instance when someone ejects and links dev config from CRA in styleguide.config.js someone may encounter the same problem.
Don't have enough time to debug it more at the moment but I will try to provide a repo with the problematic config.
Cool, thanks! Feel free to send a pull request to fix that. Anyway it won't be a problem in the next major release — there will be no import() — #1054.
😴 This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week without any further activity. Consider opening a pull request if you still have this issue or want this feature.