hide chunks/warnings in storybook
See original GitHub issueHas anyone had any luck disabling the chunk display when running storybook with a warning, e.g.:
...
[2572] ./~/react-modal/lib/index.js 49 bytes {1} [built]
[2573] ./~/react-simple-di/dist/index.js 2.96 kB {1} [built]
[2574] ./~/shallowequal/modules/index.js 1.18 kB {1} [built]
[2611] ./~/uuid/rng-browser.js 735 bytes {1} [built]
[2612] ./~/uuid/uuid.js 5.29 kB {1} [built]
WARNING in ./packages/ak-editor-schema/~/ajv/dist/ajv.bundle.js
Critical dependencies:
1:476-483 This seems to be a pre-built javascript file. Though this is possible, it's not recommended. Try to require the original source to get better results.
@ ./packages/ak-editor-schema/~/ajv/dist/ajv.bundle.js 1:476-483
I tried
storybookBaseConfig.stats = {
warnings: false,
chunks: false,
};
storybookBaseConfig.devServer = {
stats: {
warnings: false,
chunks: false,
},
};
storybookBaseConfig.webpackMiddleware = {
stats: {
warnings: false,
chunks: false,
},
};
to no avail
Issue Analytics
- State:
- Created 7 years ago
- Reactions:4
- Comments:5 (2 by maintainers)
Top Results From Across the Web
hide chunks/warnings in storybook · Issue #560 - GitHub
I want to see warnings and errors; I never want to see chunk output. All reactions.
Read more >Features and behavior - Storybook
Storybook is a frontend workshop for building UI components and pages in isolation. Thousands of teams use it for UI development, testing, and...
Read more >Controls - Storybook - JS.ORG
Choosing the control type · Custom control type matchers · Fully custom args · Configuration · Show full documentation for each property ·...
Read more >CLI options - Storybook
--no-manager-cache, Disables Storybook's manager caching mechanism. See note below start-storybook --no-manager-cache ; --disable-telemetry, Disables Storybook's ...
Read more >Interactions - Storybook - JS.ORG
Storybook is a frontend workshop for building UI components and pages in isolation. Thousands of teams use it for UI development, testing, and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yep. This is needed. We may wanna use this: https://github.com/geowarin/friendly-errors-webpack-plugin
I’m open for a PR for this.
I think the output has been silenced for the default webpack config. If you’re using a custom config, you might still run into this. Closing.