We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to serialize function in documentation. I have a function
const handler = (props, next) => (count) => { if (Math.random() < possibility) { next(); log('hit', possibility, props, count); } else { log('miss', possibility, props, count); } };
And I used handler.toString() to print it out:
handler.toString()
It's pretty good. But after uglify:
So I'm thinking If I can override the uglifyPlugin and turn off compress.
The text was updated successfully, but these errors were encountered:
I am also trying to find a solution from uglifyJS: mishoo/UglifyJS#2118
Sorry, something went wrong.
Here you go: Webpack full control mode: https://storybook.js.org/configurations/custom-webpack-config/#full-control-mode
Please re-open if you feel this doesn't solve your problem 👍
No branches or pull requests
I'm trying to serialize function in documentation.
I have a function
And I used
handler.toString()
to print it out:It's pretty good. But after uglify:
So I'm thinking If I can override the uglifyPlugin and turn off compress.
The text was updated successfully, but these errors were encountered: