diff --git a/src/pages/deployment/app-store.md b/src/pages/deployment/app-store.md index 745338e5fb2..1a61d680c4b 100755 --- a/src/pages/deployment/app-store.md +++ b/src/pages/deployment/app-store.md @@ -28,11 +28,12 @@ If the iOS platform is not already added, be sure to add it: $ ionic cordova platform add ios ``` -With the platform added, run the build command with the `--prod` flag: +With the platform added, run the build command with the `--prod` and `--release` flag: ```shell -$ ionic cordova build ios --prod +$ ionic cordova build ios --prod --release ``` +Note:the `--release` flag will disable the generation of sourceMap files in the www directory This will generate the minified code for the web portion of an app and copy it over the iOS code base.