code-hike / codehike

Build rich content websites with Markdown and React
https://codehike.org
MIT License
4.79k stars 149 forks source link

[infra] Isolate styles in Storybook #36

Closed pomber closed 2 years ago

pomber commented 3 years ago

Currently Storybook is loading styles from every story file globally. That's bad. It should only load the styles for the story it's displaying.

There's an open issue here: https://github.com/storybookjs/storybook/issues/729