Replies: 2 comments
-
There's not currently a plan to add To use budgets programmatically, it would be something like const lighthouse = require('lighthouse');
const runnerResult = await lighthouse('https://example.com', {logLevel: 'info'}, {
extends: 'lighthouse:default',
settings: {
budgets: [{
path: '/',
resourceSizes: [{
resourceType: 'image',
budget: 1000,
}],
}],
},
}); (the config As I said, it is a little awkward between the |
Beta Was this translation helpful? Give feedback.
-
Hey folks 👋🏻
Thank you for the amazing job you do with this module 🙏🏻 .
I'm building a module relying on lighthouse and I'm wondering if you plan to add the budget-path option to the node (programatic) API?
Thank you 😊
Beta Was this translation helpful? Give feedback.
All reactions