Skip to content
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,
};

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
// - 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