kotarella1110 / cordova-plugin-webpack

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

iOS app only works in development mode #533

Open glennra opened 2 years ago

glennra commented 2 years ago

I have an app and configuration based on the example in the tutorial video from the npm page. The app works ok in development mode on all platforms. When it's built in production mode it doesn't run properly on an iOS device. After turning on the source map I can see in the Safari debugger that the entry points are called in what appears to be the wrong order i.e. deviceready is called before initialise.

I'm new to webpack so is there something obvious that I might be missing here?