diff --git a/docs/readme.md b/docs/readme.md index 8fa6079fba2d..a7b22a85bb39 100644 --- a/docs/readme.md +++ b/docs/readme.md @@ -10,7 +10,7 @@ assumes you've installed Lighthouse as a dependency (`yarn add --dev lighthouse` ```js import fs from 'fs'; import lighthouse from 'lighthouse'; -import chromeLauncher from 'chrome-launcher'; +import * as chromeLauncher from 'chrome-launcher'; const chrome = await chromeLauncher.launch({chromeFlags: ['--headless']}); const options = {logLevel: 'info', output: 'html', onlyCategories: ['performance'], port: chrome.port};