blob: 0f5c71632a7de6c81a023fec11cd6eac53cce1e3 [file] [log] [blame]
Synopsis
cordova-cli build [PROD] [TARGET] [EXP] [PLATS] [-- POPTS]
PROD: --debug|--release
TARGET: --device|--emulator|--target=FOO
EXP: --experimental [EXPERIMENTALFLAGS]
PLATS: PLATFORM [...]
POPTS: platformopts
Shortcut for `cordova-cli prepare` + `cordova-cli compile` for
all/the specified platforms.
--debug ............................ debug build
--release .......................... release build
--device ........................... Deploy to a device
--emulator ......................... Deploy to an emulator
--target ........................... Deploy to a specific target
To provide platform specific options, you must include them after `--`.
Experimental Flags
--browserify ....................... Plugins javascript gets loaded at build time instead of runtime using browserify.
Replaces cordovajs file with one that includes the JS of the installed plugins.