@ngx-composer/cli

Composes multiple Angular workspaces for building, serving and more without an overhead of configuration.

Usage no npm install needed!

<script type="module">
  import ngxComposerCli from 'https://cdn.skypack.dev/@ngx-composer/cli';
</script>

README

NGX Composer

Composes multiple Angular workspaces for building, serving and more without an overhead of configuration.

Codacy Badge

Example

Commands

Build

Build the angular application(s)

ngx build

Options

      --version             Show version number                                  [boolean]
      --help                Show help                                            [boolean]
  -d, --directory           Directories or glob (e.g. "custom/plugins/**") to define the
                            workspaces to process.                 [array] [default: "**"]
  -e, --exclude             Exclude specified path or glob.                        [array]
      --outputPath          The full path for the new output directory
                                                                [string] [default: "dist"]
      --vendor-chunk        Generate a separate bundle containing only vendor libraries.
                                                                [boolean] [default: false]
      --named-chunks        Use file name for lazy loaded chunks.
                                                                [boolean] [default: false]
      --create-loader-file  Creates a template containing only the angular dist scripts
                                                                [boolean] [default: false]
      --loader-file-name    The name of the loader file
                                                      [string] [default: "app-loader.tpl"]

Serve

Serve the angular application(s)

ngx serve

Options

      --version             Show version number                                  [boolean]
      --help                Show help                                            [boolean]
  -d, --directory           Directories or glob (e.g. "custom/plugins/**") to define the
                            workspaces to process.                 [array] [default: "**"]
  -e, --exclude             Exclude specified path or glob.                        [array]
      --create-loader-file  Creates a template containing only the angular dist scripts
                                                                                 [boolean]
      --loader-file-name    The name of the loader file
                                                      [string] [default: "app-loader.tpl"]