addyosmani / webpack-lighthouse-plugin

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

Additional output options #12

Closed atdiff closed 6 years ago

atdiff commented 6 years ago

It'd be nice to have the ability to configure options like the output format (JSON, HTML, other) and to specify the output location. Lighthouse offers options of:

evenstensberg commented 6 years ago

Try adding outputPath in your webpack.config, it should work!

atdiff commented 6 years ago

@ev1stensberg - Ran this and it didn't change the output folder:

new WebpackLighthousePlugin({
                url: 'http://localhost:8000',
                perf: true,
                outputPath: 'C:\\temp\\'
})
evenstensberg commented 6 years ago

Sorry, let's group those up at #14