mikestead / lighthouse-batch

Run Lighthouse analysis over multiple sites in a single command
MIT License
156 stars 42 forks source link

Add option to retain testing URL's directory structure #72

Open kftsehk opened 3 years ago

kftsehk commented 3 years ago

Some may prefer to put reports into URL's original directory structure

New behavior

http://example.com => $OUT/example_com.report.json
http://example.com/ => $OUT/example_com.report.json
http://example.com/?a=b => $OUT/example_com/_a=b.report.json
http://example.com/a/b/c => $OUT/example_com/a/b/c.report.json

This can be enabled with --retain-url-directory