Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Runs operations to build an Angular2 application. 

Info
titleNode dependency

This plugin can execute on any endpoint with Node Node v10.13 or greater.

Inputs

Input NameInput CodeRequiredDescription
Save ArtifactsFDNG_INP_SAVE_ARTIFACTSYes

If checked, artifacts will be saved to the Artifacts folder automatically. If you need to perform additional steps on the output then set this to false and use a copyArtifacts step later in the workflow.

Set to true by default

Output Folder DirectoryFDNG_INP_OUTPUT_FILE_LOCATIONNo

Specify the output path relative to the project location. By default the "dist" folder will be used. 

Production BuildFDNG_INP_PRODUCTIONYesShould the ng build command be appended with the "--prod" flag. Defaults to true. Leave this as true if this build will eventually be served in a production environment. 
Additional OptionsFDNG_INP_ADDITIONAL_OPTIONSNoProvide any additional arguments to the ng build command. For example --stats-json

Artifacts

This operation produces artifacts if the FDNG_INP_SAVE_ARTIFACTS option is checked. Otherwise you need to explicitly save the output somewhere else in the workflow.

...