question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to disable minification when running `build-storybook`?

See original GitHub issue

Is there a way not to minify the JS files when running build-storybook?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

10reactions
mycarrysuncommented, Mar 6, 2020

@arunoda sorry to reopen such an old thread but the docs aren’t clear on what you need to do to set configType to DEVELOPMENT

Can you show an example of how one might set that variable and return it with the config?

1reaction
moroshkocommented, May 6, 2016

Thanks @arunoda

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to disable minification when running `build-storybook`?
Currently there is no way. You need to change the webpack config and remove uglifyjs plugin. You can try this: #160 ...
Read more >
CLI options - Storybook
The flag --no-manager-cache disables the internal caching of Storybook and can severely impact your Storybook loading time, so only use it when you...
Read more >
How do I disable minification when running "build" command ...
I have to build a static version to deploy it with npm run build -- is there a vite option to disable minification?...
Read more >
@t3n/storybook - npm
Start using @t3n/storybook in your project by running `npm i @t3n/storybook`. There are no ... The build is minified and the filenames include...
Read more >
What is Minification | Why minify JS, HTML, CSS files - Imperva
When creating HTML, CSS and JavaScript (JS) files, developers tend to use spacing, comments and well-named variables to make code and markup readable...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found