Skip to content

Commit 8e93128

Browse files
authored
docs: improve wording
1 parent 59bdbb2 commit 8e93128

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,7 +1003,7 @@ module.exports = {
10031003

10041004
### Examples
10051005

1006-
#### Different variants `from` (`glob`, `file` or `dir`).
1006+
#### Different variants of `from` (`glob`, `file` or `dir`).
10071007

10081008
Take for example the following file structure:
10091009

@@ -1039,7 +1039,7 @@ src/directory-nested/deep-nested/deepnested-file.txt,
10391039
src/directory-nested/nested-file.txt
10401040
```
10411041

1042-
If you want only content `src/directory-nested/`, you should only indicate `glob` in `from`. The path to the folder in which the search should take place, should be moved to `context`.
1042+
If you don't want the result paths to start with `src/directory-nested/`, then you should move `src/directory-nested/` to `context`, such that only the glob pattern `**/*` remains in `from`:
10431043

10441044
**webpack.config.js**
10451045

0 commit comments

Comments
 (0)