Limiting artifacts to be built
Last updated
Was this helpful?
Last updated
Was this helpful?
Artifacts to be built can be limited by various mechanisms. This section deals with various techniques to limit artifacts being built
Artifacts to be built can be restricted by during a build process in sfp by utilizing specific configurations. Consider the example provided in
You can use the path to the config file to the build command to limit the artifacts being built as in the sample below
Artifacts to be built can be limited only to certain packages. This could be very helpful, in case you want to build an artifact of only one package or a few while testing locally.
Packages can be ignored from the build command by utilising an additional descriptor on the package in project manifest (sfdx-project.json)
In the above scenario, src-env-specific-pre will be ignored while build command is invoked