Skip to content

Commit

Permalink
Update 4-Configuration.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudLigny committed Feb 3, 2025
1 parent 787fb13 commit 7df01bc
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions docs/4-Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,7 @@ static:
target: '' # target directory
exclude: ['sass', 'scss', '*.scss', 'package*.json', 'node_modules'] # list of excluded files (accepts globs, strings and regexes)
load: false # enables `site.static` collection (`false` by default)
mounts: [] # allows to copy specific files or directories to specific destination in files directory
mounts: [] # allows to copy specific files or directories to a specific destination
```
:::important
Expand All @@ -849,12 +849,16 @@ exclude: ['sass', 'scss', '*.scss', 'package*.json', '#node_modules/(?!bootstrap

:::

:::tip
You can copy some files to a specific destination.
:::info
You can copy some files from `static/` directory to a specific destination with the `mounts` option.

Examples:

```yaml
mounts:
'static/node_modules/bootstrap-icons/font/fonts': 'fonts'
mounts:
- source/path/file.ext: destination/path/file.ext
- source/path: destination/path
- node_modules/bootstrap-icons/font/fonts: fonts
```

:::
Expand Down

0 comments on commit 7df01bc

Please sign in to comment.