Skip to content

Commit

Permalink
Migrate Lighthouse config from CommonJS to ES6 module
Browse files Browse the repository at this point in the history
  • Loading branch information
anselmbradford committed Oct 30, 2024
1 parent 8d853a2 commit 4e2bd9e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lighthouserc.cjs → lighthouserc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const glob = require('glob');
const path = require('path');
import { glob } from 'glob';
import { path } from 'path';

let extraCollect = {};

Expand Down Expand Up @@ -48,7 +48,7 @@ if (!urlsSpecified) {
};
}

module.exports = {
export default {
ci: {
collect: {
numberOfRuns: 1,
Expand Down

0 comments on commit 4e2bd9e

Please sign in to comment.