You need to sign in to do that
Don't have an account?

exclude files from unlocked package
Is there a way to include files in a sfdx force:source:push, but exclude them in sfdx force:package:version:create?
You need to sign in to do that
Don't have an account?
The .forceignore file excludes files when running the source commands: force:source:convert, force:source:push, force:source:pull, and force:source:status.
https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_exclude_source.htm