electron-userland / electron-webpack

Scripts and configurations to compile Electron applications using webpack
https://webpack.electron.build/
903 stars 170 forks source link

electron-webpack dev not working with Webpack 5 #424

Closed ogomez92 closed 3 years ago

ogomez92 commented 3 years ago
not applicable Not applicable

I get the following error when trying to start webserver for with webpack@5.x. I can't use webpack 4 as I rely on latest Babel code.

(base) uri@Mac-mini-de-oriol beat % yarn electron-webpack dev yarn run v1.22.10 $ /Users/uri/Desktop/beat/node_modules/.bin/electron-webpack dev ValidationError: Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema.

┗ ---------------------------- Renderer WDS exited with code 1

spikhoff commented 3 years ago

Dup https://github.com/electron-userland/electron-webpack/issues/408