Skip to content

consider not minifying packages #23847

@mayank99

Description

@mayank99

Describe the bug

all @storybook packages have their distributed code minified (presumably via esbuild + tsup). i understand the need for transpiling out typescript and maybe even bundling imports, but it would be nice to not have the code minified.

ultimately all code passes through a bundler/minifier (webpack, vite, etc) which will do its own minification, so i think there is no benefit to pre-minifying all packages.

To Reproduce

No response

System

No response

Additional context

we're always having all sorts of issues with storybook, and ultimately need to dig inside node_modules to find the issue. if the code was more readable, this would make our lives a lot easier.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions