Skip to main content
Version: current

pureprofile build

Build web assets and prepare your app for any platform targets

$ pureprofile build [options]

pureprofile build will perform an Pureprofile build, which compiles web assets and prepares them for deployment.

pureprofile build uses the Angular CLI. Use ng build --help to list all Angular CLI options for building your app. See the ng build docs for explanations. Options not listed below are considered advanced and can be passed to the ng CLI using the -- separator after the Pureprofile CLI arguments. See the examples.

Examples

$ pureprofile build 
$ pureprofile build --prod
$ pureprofile build --watch

Options

--prod

Description

Flag to use the production configuration

Advanced Options

--configuration =<conf>

Description

Specify the configuration to use.

Aliases-c

--source-map

Description

Output source maps

--watch

Description

Rebuild when files change

--engine =<engine>

Description

Target engine (e.g. browser, cordova)

--platform =<platform>

Description

Target platform on chosen engine (e.g. ios, android)