addyosmani / webpack-lighthouse-plugin

A Webpack plugin for Lighthouse
Apache License 2.0
290 stars 12 forks source link

launch lighthouse on the prod build #6

Closed lucaperret closed 7 years ago

lucaperret commented 7 years ago

Run Lighthouse on the build phase with defaults values:

new WebpackLighthousePlugin({
  serverHostname: 'localhost',
  serverPort: 8080,
  dist: path.resolve(__dirname, '../dist')
})