UNPKG

@codechecks/lighthouse-keeper

Version:

Keep an eye on Google Lighthouse score changes

14 lines 458 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function parseOptions(options) { if (!options.url && !options.buildPath) { throw new Error("url and buildPath is missing in config"); } return { buildPath: options.buildPath, url: options.url || "http://localhost:3000", minScores: options.minScores || {}, }; } exports.parseOptions = parseOptions; //# sourceMappingURL=options.js.map