Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

What does --prod flag do exactly?

$
0
0

@rafbgarcia wrote:

Does it include the four Advanced Options? What does it do, exactly?

$ ionic build --help

➜  imoto-motoboys git:(master) ✗ ionic build --help

  ionic build - Build web assets and prepare your app for any platform targets

    ionic build will perform an Ionic build, which compiles web assets and prepares them for deployment. For
    Ionic/Cordova apps, the CLI will run cordova prepare, which copies the built web assets into the Cordova platforms
    that you've installed. For full details, see ionic cordova prepare --help.

  Usage:

    $ ionic build [options]

  Options:

    --prod ................... Build the application for production

  Advanced Options:

    --aot .................... Perform ahead-of-time compilation for this build
    --minifyjs ............... Minify JS for this build
    --minifycss .............. Minify CSS for this build
    --optimizejs ............. Perform JS optimizations for this build

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>