Closed achmadk closed 7 years ago
' had similar problems, ' prepared a pull-request to solve the problems: https://github.com/jiangtao/webp-webpack-plugin/pull/2.
I'm still getting this issue.
@leotm Please tell me your reappear steps.
Thanks for the speedy reply @jiangtao .
At the start of my webpack.config.js, I added var StartServerPlugin = require('start-server-webpack-plugin');
after my other plugins, before the module.exports part.
Similarly, in the module.exports.plugins array, I added new StartServerPlugin({})
after my other plugins. This gives no errors.
But e.g. new StartServerPlugin({name: 'server.js'})
throws the TypeError.
I also created an empty server.js in the same directory as webpack.config.js.
I had this happen when my entry
file was incorrect, double check it!
I use your plugin to generate webp images. I am using latest version of webpack (v3.4.0). Unfortunately, I got error message like this.