-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: be able to send aggregated data to anywhere
- Loading branch information
1 parent
c4df77f
commit 743ffab
Showing
7 changed files
with
299 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
const path = require("path"); | ||
const fs = require("fs"); | ||
|
||
const lighthouseOutputPathDir = path.join(__dirname, "reports/lighthouse"); | ||
const ecoIndexOutputPathDir = path.join(__dirname, "reports/ecoindex"); | ||
|
||
module.exports = { | ||
reports: [ | ||
"html", | ||
(_options, result) => { | ||
console.log(result) | ||
}, | ||
], | ||
verbose: true, | ||
srcLighthouse: lighthouseOutputPathDir, | ||
srcEcoIndex: ecoIndexOutputPathDir, | ||
outputPath: "report_final", | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.