Skip to content

Commit c0c918a

Browse files
authored
Merge pull request #467 from pikeshawn/patch-1
Update module-resolution.md
2 parents 19f08c8 + 0378b35 commit c0c918a

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 is 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 comprising 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.
@@ -69,4 +69,4 @@ Every filesystem access is cached so that multiple parallel or serial requests t
6969

7070
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

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

0 commit comments

Comments
 (0)