mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 06:01:22 +08:00
Template (standalone: false) entries are needed for: - Docs Page - *.stories.mdx files that define a docs page and stories. A Template entry expects to be rendered from and against a story file. (A standalone entry expects to be rendered as a MDX file)
Storybook Core-Common
Common utilities used across @storybook/core-server
(manager UI configuration) and @storybook/builder-webpack{4,5}
(preview configuration).
This is a lot of code extracted for convenience, not because it made sense.
Supporting multiple version of webpack and this duplicating a large portion of code that was never meant to be generic caused this.
At some point we'll refactor this, it's likely a lot of this code is dead or barely used.