Skip to content

Commit 5f645ce

Browse files
authored
Merge pull request #520 from bonham000/patch-4
two slight typo corrections
2 parents 456df1b + e6471b8 commit 5f645ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/concepts/module-resolution.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ import "module";
4747
import "module/lib/file";
4848
```
4949

50-
Modules are searched for inside directories which are specified using `resolve.modules`, which can be an array comprising of different paths.
50+
Modules are searched for inside directories which are specified using `resolve.modules`, which can be an array comprised of different paths.
5151
Aliasing, i. e. setting `resolve.alias` to an existing module path, allows you to replace the module path with an alias name during `require/import`.
5252

5353
Once the path is resolved based on the above rule, the resolver checks if the path points to a file or to a directory. If the path points to a file then it is bundled straightaway.
@@ -67,6 +67,6 @@ Every filesystem access is cached so that multiple parallel or serial requests t
6767

6868
### Unsafe caching
6969

70-
There is a configuration option `resolve.unsafeCache` which boosts performance by aggressive caching.Every resolve process is cached and isn’t ever purged. This is correct in most cases, but incorrect in edge cases (what edge cases?).
70+
There is a configuration option `resolve.unsafeCache` which boosts performance by aggressive caching. Every resolve process is cached and isn’t ever purged. This is correct in most cases, but incorrect in edge cases (what edge cases?).
7171

7272
Look at [Resolve API](/configuration/resolve) for more info on the configuration mentioned above.

0 commit comments

Comments
 (0)