Ignoring packages from being built

AttributeTypeDescriptionPackage Types Applicable
ignoreOnStagearrayIgnore 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",
      "<a data-footnote-ref href="#user-content-fn-1">ignoreOnStage</a>": [
       "build"
      ]
    },
    {
      "path": "./src/frameworks/feature-mgmt",
      "package": "feature-mgmt",
      "versionNumber": "1.0.0.NEXT"
    }
  ]
}