Skip to content

Commit

Permalink
chore(deploy): Add some clarrification for deploy packlist generation (
Browse files Browse the repository at this point in the history
…#559)

Co-authored-by: Ollie Edwards <[email protected]>
  • Loading branch information
antiBaconMachine and Ollie Edwards authored Aug 15, 2024
1 parent 8be0095 commit 6800e0c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/cli/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,8 @@ Packages in `devDependencies` won't be installed.

## Files included in the deployed project

By default, all the files of the project are copied during deployment. The project's `package.json` may contain a "files" field to list the files and directories that should be copied.
By default, all the files of the project are copied during deployment but this can be modified in _one_ of the following ways which are resolved in order:

1. The project's `package.json` may contain a "files" field to list the files and directories that should be copied.
2. If there is an `.npmignore` file in the application directory then any files listed here are ignored.
3. If there is a `.gitignore` file in the application directory then any files listed here are ignored.

0 comments on commit 6800e0c

Please sign in to comment.