-
Notifications
You must be signed in to change notification settings - Fork 111
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
Display gzip size of built assets #244
Conversation
@@ -53,6 +53,7 @@ | |||
"file-loader": "0.9.0", | |||
"filesize": "3.3.0", | |||
"glob": "7.1.0", | |||
"gzip-size": "^3.0.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we pin this at 3.0.0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops. Sounds good.
d6a5ccd
to
365866a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @dting thanks for taking care of this!
const stripAnsi = require('strip-ansi'); | ||
const logger = require('../cli/logger'); | ||
|
||
module.exports = (stats) => { | ||
module.exports = (stats, clientConfig) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @dting Make sure to pass clientConfig in here https://github.com/NYTimes/kyt/blob/master/cli/actions/build.js#L51
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @ccpricenytimes. I also checked to see that I didn't forget to change any other printAssets
calls and updated the build.test.js
for the updated the PR.
365866a
to
c3ae09a
Compare
thanks @dting ! |
Resolves #57