storybookjs / storybook

Storybook is the industry standard workshop for building, documenting, and testing UI components in isolation
https://storybook.js.org
MIT License
83.97k stars 9.23k forks source link

[Bug]: Storybook minifies dist output #23326

Open ling1726 opened 1 year ago

ling1726 commented 1 year ago

Describe the bug

It's quite hard to dig into storybook issue since the dist output of all storybook packages is minified. It would be nice to ship storybook package unminified (but can still be rolledup into one module) so that users can have an easier time debugging code and applying patches for a workaround.

Unminified code won't matter for any server related code, and client code will still be minified by webpack

To Reproduce

https://[cdn.jsdelivr.net/npm/@storybook/addon-storysource@7.0.26/dist/index.js](https://cdn.jsdelivr.net/npm/@storybook/addon-storysource@7.0.26/dist/index.js)

System

No response

Additional context

No response

dburles commented 6 months ago

This is important. Why is the source minified?