another bugfix for webpack-cordova-plugin