Well first of all, that’s documentation for version 1. If you are using >= 2, then https://ionicframework.com/docs/
You will find some documentation about --prod
in Ionic App Script README https://github.com/ionic-team/ionic-app-scripts
The documentation for the CLI (commands) could be found in the README of the project https://github.com/ionic-team/ionic-cli
Or more easy with the cmd line
just type
ionic
give (with 3.18.0 for example)
Usage:
$ ionic <command> [<args>] [--help] [--verbose] [--quiet] [--no-interactive] [--confirm] [options]
Global Commands:
config <subcommand> ...... Manage CLI and project config values (subcommands: get, set)
docs ..................... Open the Ionic documentation website
info ..................... Print system/environment info
login .................... Login with your Ionic ID
signup ................... Create an Ionic account
ssh <subcommand> ......... Commands for configuring SSH keys (subcommands: add, delete, generate, list, setup, use)
start .................... Create a new project
telemetry ................ (deprecated) Opt in and out of telemetry
Project Commands:
build .................... Build web assets and prepare your app for any platform targets
cordova <subcommand> ..... Cordova functionality (subcommands: build, compile, emulate, platform, plugin, prepare,
requirements, resources, run)
doctor <subcommand> ...... Commands for checking the health of your Ionic project (subcommands: check, ignore, list)
generate ................. Generate pipes, components, pages, directives, providers, and tabs (ionic-angular >=
3.0.0) (alias: g)
git <subcommand> ......... Commands relating to git (subcommands: remote)
integrations <subcommand> Add or disable various integrations in your app (subcommands: disable, enable)
link ..................... Connect your local app to Ionic
monitoring <subcommand> .. Commands relating to Ionic Pro error monitoring (subcommands: syncmaps)
serve .................... Start a local dev server for app dev/testing
and if you type
ionic cordova
you will get
ionic cordova - Cordova functionality
These commands integrate with Apache Cordova, which brings native functionality to your app. Aside from ionic
cordova resources, these commands all wrap the Cordova CLI.
Cordova Reference documentation:
- Overview: https://cordova.apache.org/docs/en/latest/guide/overview/index.html
- CLI documentation: https://cordova.apache.org/docs/en/latest/reference/cordova-cli/
Usage:
$ ionic cordova <command> [<args>] [--help] [--verbose] [--quiet] [--no-interactive] [--confirm] [options]
Project Commands:
build .................... Build (prepare + compile) an Ionic project for a given platform
compile .................. Compile native platform code
emulate .................. Emulate an Ionic project on a simulator or emulator
platform ................. Manage Cordova platform targets (alias: platforms)
plugin ................... Manage Cordova plugins (alias: plugins)
prepare .................. Copies assets to Cordova platforms, preparing them for native builds
requirements ............. Checks and print out all the requirements for platforms
resources ................ Automatically create icon and splash screen resources
run ...................... Run an Ionic project on a connected device
But you are right even there I didn’t find --release