New issue
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
Support rules validation in webpack plugin #132
Comments
If you validate your stats on CI then you install Statoscoope CLI anyway. Don't you? |
Yes, I do. But I can't see errors and warnings in the report, that has been generated with webpack. |
@amalitsky this is another issue that is good for contribution :) |
If I understand correctly, as of now Now, if the above is correct, let's assume that statoscope validation (not currently there, but is suggested above) performed by Asking because failing the build will be a breaking change and not failing the build could be misleading. I admit - never worked on webpack plugins before, hence my understanding is limited at this point. It seems to me that statoscope is capable of three distinct things:
Is that right? |
I am loving statoscope @smelukov, but for the life of me I can't figure out how to generate the HTML report with the validation messages. I've installed |
Ok I got it! I think the sample code has an incorrect value for the reporter option — indicates to use When I have a moment and am not against a deadline, I'll circle back and try to describe what I did to get it working and what I found misleading in the docs. Thanks again for the awesome package(s)! |
@rcherny Thanks for your feedback!
If it works not like it described above, please let me know |
Appreciate the note! Oddly enough, originally when I tried cheers |
Is your feature request related to a problem? Please describe.
It feels unnecessary to additionally install cli only to validate.
Describe the solution you'd like
Ability to pass
statoscope.config.js
to webpack plugin and get report warns and errors.Describe alternatives you've considered
Installing cli and run validation only in CI
The text was updated successfully, but these errors were encountered: