Skip to content
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): create error-y LHR for the deploy #9283

Merged
merged 11 commits into from
Jun 29, 2019
Prev Previous commit
Next Next commit
some feedback
  • Loading branch information
paulirish committed Jun 26, 2019
commit 3bc962f1fda956200e7407c4a3619c4d6cecd345
3 changes: 3 additions & 0 deletions lighthouse-core/scripts/build-report-for-autodeployment.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const DIST = path.join(__dirname, `../../dist`);
english: lhr,
espanol: swapLocale(lhr, 'es').lhr,
arabic: swapLocale(lhr, 'ar').lhr,
'xl-accented': swapLocale(lhr, 'en-XL').lhr,
error: errorLhr,
brendankenny marked this conversation as resolved.
Show resolved Hide resolved
};

Expand All @@ -39,6 +40,8 @@ const DIST = path.join(__dirname, `../../dist`);
for (const variant of ['', '-devtools']) {
if (variant === '-devtools') {
// TODO: Make the DevTools Audits panel "emulation" more comprehensive
brendankenny marked this conversation as resolved.
Show resolved Hide resolved
// - the parent widget/vbox container with overflow
// - a more constrained/realistic default size
html = html.replace(`"lh-root lh-vars"`, `"lh-root lh-vars lh-devtools"`);
}
const filepath = `${DIST}/${filename}${variant}/index.html`;
Expand Down