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.

Output --why webpack build for CI purposes

See original GitHub issue

Hello,

As a user of CircleCI (or any other CI system), I would like to be able to store the output of the --why functionality in my build artifacts. This would allow me to use size limit to visually see what changed between builds, something that becomes rather complex over a large amount of commits.

If this is something that is possible I’d love to contribute.

Cheers, Jeffrey

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:4
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
aicommented, Jun 7, 2019

@mflores-verys sorry for the long delay. Had hard times because of the conference.

I wanted to confirm, does that option exist today or are you suggesting this would be a good capability for someone to add via PR?

Size Limit doesn’t have this option.

If you want to send PR, I will help you and accept it.

0reactions
mflores-veryscommented, May 31, 2019

@ai

You can add --why-stats path/to/file/to/save/stats option to Size Limit

I wanted to confirm, does that option exist today or are you suggesting this would be a good capability for someone to add via PR?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build Performance - webpack
This guide contains some useful tips for improving build/compilation performance. General. The following best practices should help, whether you're running ...
Read more >
Output - webpack
webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable...
Read more >
Command Line Interface - webpack
Its main purpose is to bundle JavaScript files for usage in a browser, ... Output the version number of webpack , webpack-cli and...
Read more >
Stats - webpack
Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also ... Webpack comes with certain presets...
Read more >
Output Management - webpack
webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable...
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