From 8e93128ee1441ef2d1170f84456dd6a85f0c9f63 Mon Sep 17 00:00:00 2001 From: Kevin Lu <59781940+klu22@users.noreply.github.com> Date: Sat, 8 Apr 2023 14:30:40 -0400 Subject: [PATCH] docs: improve wording --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 66eb265..2685769 100644 --- a/README.md +++ b/README.md @@ -1003,7 +1003,7 @@ module.exports = { ### Examples -#### Different variants `from` (`glob`, `file` or `dir`). +#### Different variants of `from` (`glob`, `file` or `dir`). Take for example the following file structure: @@ -1039,7 +1039,7 @@ src/directory-nested/deep-nested/deepnested-file.txt, src/directory-nested/nested-file.txt ``` -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`. +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`: **webpack.config.js**