Skip to content

Commit 8c68c9e

Browse files
committed
logs
1 parent 9fc3998 commit 8c68c9e

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export default function lighthousePlugin(inputs) {
3535
onPreBuild,
3636
onPostBuild: ({ utils }) => persistCache({ utils }),
3737
onSuccess: async ({ constants, utils, inputs } = {}) => {
38+
console.log('🚨 LIGHTHOUSE PLUGIN onSuccess invoked');
3839
// Mock the required `utils` functions if running locally
3940
const { failPlugin, show } = getUtils({ utils });
4041

@@ -53,6 +54,7 @@ export default function lighthousePlugin(inputs) {
5354
onPostBuild: async ({ constants, utils, inputs } = {}) => {
5455
// Mock the required `utils` functions if running locally
5556
const { failBuild, show } = getUtils({ utils });
57+
console.log('🚨 LIGHTHOUSE PLUGIN onPostBuild invoked');
5658

5759
await persistCache({ utils });
5860
await runEvent({

src/lib/run-event/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ const runEvent = async ({
5353
const data = [];
5454

5555
let i = 0;
56+
console.log('Running Lighthouse audits', auditConfigs);
5657
for (const auditConfig of auditConfigs) {
5758
i++;
5859

0 commit comments

Comments
 (0)