Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/lib/docs/cli/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,16 @@ Include only the categories with these names. Corresponding config key: `include
jsrepo build --include-categories utils scripts
```

### `--include-files`

Additional files to include in the manifest. Corresponding config key: `includeFiles`

#### Usage

```sh
jsrepo build --include-files ./src/**/*.txt
```

### `--exclude-blocks`

Do not include the blocks with these names. Corresponding config key: `excludeBlocks`
Expand Down
11 changes: 11 additions & 0 deletions src/lib/docs/registry/jsrepo-build-config-json.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,17 @@ The path of the file in your registry.
}
```

### `includeFiles`

Additional files to include in the manifest. This can be used to include arbitrary extra static files which don't have language support.
This config option supports ignore style glob patterns.

```jsonc showLineNumbers
{
"includeFiles": ["./src/blocks/header/hero.png", "./src/**/*.txt"]
}
```

### `listBlocks`

`listBlocks` is a list of block names that should be listed when the user runs the `add` command.
Expand Down
Loading