Ignoring packages from being built

Attribute
Type
Description
Package Types Applicable

ignoreOnStage

array

Ignore a package from being processed by a particular stage

  • unlocked

  • org-dependent unlocked

  • source

  • diff

Using the ignoreOnStage:[ "build" ] property on a package, causes the particular package to be skipped by the build command. Similarly you can use ignoreOnStage:[ "quickbuild" ] to skip packages in the quickbuild stage.

{
  "packageDirectories": [
    {
      "path": "./src-env-specific-pre",
      "package": "src-env-specific-pre",
      "versionNumber": "1.0.0.NEXT",
      "": [
       "build"
      ]
    },
    {
      "path": "./src/frameworks/feature-mgmt",
      "package": "feature-mgmt",
      "versionNumber": "1.0.0.NEXT"
    }
  ]
}

Last updated