Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 1.26 KB

README.md

File metadata and controls

26 lines (21 loc) · 1.26 KB

lighthouse-auto-fix Build Status Coveralls PRs Welcome

🚀 Automatically resolve lighthouse issues, especially for static website.

Quick Overview

npm install -g lighthouse-auto-fix
lighthouse-auto-fix <Your Url>

Then you could find optimized files in dist.

CLI Options

$ lighthouse-auto-fix --help
lighthouse-auto-fix <url>

Options:
  --version      Show version number                                   [boolean]
  --out-dir, -d  set the output directory. defaults to "dist"  [default: "dist"]
  --device                   [choices: "mobile", "desktop"] [default: "desktop"]
  --help         Show help                                             [boolean]

Supported Optimization

This repo aims to optimize website based on lighthouse. Not all audit items are able to fix by automated tool. Here's the list what we manage to fix Supported Items