-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
misc(build): add build step for report #12707
Conversation
@@ -39,6 +39,9 @@ mkdir -p "$fe_lh_dir" | |||
|
|||
lh_bg_js="dist/lighthouse-dt-bundle.js" | |||
|
|||
yarn build-report | |||
yarn build-devtools |
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.
drive by change to also build devtools when rolling
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.
LGTM, thanks for breaking it up :)
@@ -31,7 +32,7 @@ | |||
"lint": "[ \"$CI\" = true ] && eslint --quiet -f codeframe . || eslint .", | |||
"smoke": "node lighthouse-cli/test/smokehouse/frontends/smokehouse-bin.js", | |||
"debug": "node --inspect-brk ./lighthouse-cli/index.js", | |||
"start": "node ./lighthouse-cli/index.js", | |||
"start": "yarn build-report && node ./lighthouse-cli/index.js", |
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.
🎉 😃
I'll defer to @brendankenny on the last remaining point. |
breaking off some work from #12702
not using rollup here. I tried, but it was more effort than desired to get our weird exports working via commonjs+rollup, and this is just a transient change, so nbd.