storybook icon indicating copy to clipboard operation
storybook copied to clipboard

[Bug]: Storybook minifies dist output

Open ling1726 opened this issue 1 year ago • 1 comments

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/[email protected]/dist/index.js

System

No response

Additional context

No response

ling1726 avatar Jul 05 '23 19:07 ling1726

This is important. Why is the source minified?

dburles avatar Feb 19 '24 23:02 dburles