kotarella1110 / cordova-plugin-webpack

Integrate webpack into your Cordova workflow.
https://www.npmjs.com/package/cordova-plugin-webpack
Apache License 2.0
61 stars 21 forks source link

Incompatibility with webpack-cli@4.0.0 #317

Open georgeHtmlBurger opened 3 years ago

georgeHtmlBurger commented 3 years ago

webpack-cli/bin/utils/convert-argv is no longer available in webpack-cli@4.0.0

https://github.com/kotarella1110/cordova-plugin-webpack/blob/48a46cdc07bdcfcb9773484807a1a8d9a71eff5c/src/webpackCompile.ts#L5

webpack-cli's bin directory used to include a whole lot: https://github.com/webpack/webpack-cli/tree/f9f08604a1ce5272b20d4f942e6861f3dc170dc0/bin

but there is no bin directory anymore: https://github.com/webpack/webpack-cli/tree/e9fd593bc1dda3b8f67944cf4b4de18d4fb55a2d

I recently tried to update a project of mine to use webpack-cli@4.0.0, but got an error and had to revert to webpack-cli@3.3.10

dsueltenfuss commented 3 years ago

I am in the same situation, unable to upgrade to webpack-cli v4 until this plugin is updated