File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ a patch for node.js which avoids loading the same module more than once
5
5
6
6
### why?
7
7
In a large project developed with node.Js, some modules are used frequently, let's say underscore or lodash.
8
- module A is depended on ``` underscore ``` ,and module B is depended on it too, they are depended on the same version.
9
- So module underscore is loaded more than once , right? And that may cost a lot memory, very unnecessary .So why don't
8
+ module A depends on ``` underscore ``` ,and module B depends on it too, now they depend on the same module with same version.
9
+ So module underscore is loaded more than once , right? And that will cost a lot memory, what a waste! .So why don't
10
10
we set the cache for the same module with the same version. Well , module-unique can help you solve this!
11
11
12
12
### How to use
You can’t perform that action at this time.
0 commit comments