lighthouse-plugin-performance
v0.1.2
Published
## Setup
Downloads
3
Readme
Lighthouse Performance Plugin
Setup
Please install the dependencies first:
npm install --save-dev lighthouse lighthouse-plugin-performance
Then, please create a configuration file for Lighthouse, such as lighthouse.sample.js
.
The important part is to add lighthouse-plugin-performance
to the plugins
array.
// lighthouse.sample.js
module.exports = {
extends: "lighthouse:default",
plugins: [
"lighthouse-plugin-performance",
],
};
Usage
To see a report, simply run the following command:
npx lighthouse --config-path lighthouse.sample.js https://jobsort.com --view