| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 1411e0b commit 5298c81
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -212,6 +212,12 @@ module (loading from `node_modules` folders), it is not a *guarantee* | |||
| 212 | 212 | that `require('foo')` will always return the exact same object, if it | |
| 213 | 213 | would resolve to different files. | |
| 214 | 214 | ||
| 215 | + Additionally, on case-insensitive file systems or operating systems, different | ||
| 216 | + resolved filenames can point to the same file, but the cache will still treat | ||
| 217 | + them as different modules and will reload the file multiple times. For example, | ||
| 218 | + `require('./foo')` and `require('./FOO')` return two different objects, | ||
| 219 | + irrespective of whether or not `./foo` and `./FOO` are the same file. | ||
| 220 | + | ||
| 215 | 221 | ## Core Modules | |
| 216 | 222 | ||
| 217 | 223 | <!--type=misc--> | |
| Back | FazBrowse Home | New Git URL |
0 commit comments