initial commit
This commit is contained in:
		
							
								
								
									
										10
									
								
								node_modules/dynamic-dedupe/example/deduped.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								node_modules/dynamic-dedupe/example/deduped.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | ||||
| var dedupe = require('../'); | ||||
| dedupe.activate(); | ||||
|  | ||||
| var foo1 = require('./pack1/common/dep-uno/foo'); | ||||
| var foo2 = require('./pack2/common/dep-uno/foo'); | ||||
|  | ||||
| console.log(foo1.foo); | ||||
| console.log(foo2.foo); | ||||
|  | ||||
| console.log(foo1 === foo2); | ||||
							
								
								
									
										7
									
								
								node_modules/dynamic-dedupe/example/not-deduped.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								node_modules/dynamic-dedupe/example/not-deduped.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| var foo1 = require('./pack1/common/dep-uno/foo'); | ||||
| var foo2 = require('./pack2/common/dep-uno/foo'); | ||||
|  | ||||
| console.log(foo1.foo); | ||||
| console.log(foo2.foo); | ||||
|  | ||||
| console.log(foo1 === foo2); | ||||
							
								
								
									
										4
									
								
								node_modules/dynamic-dedupe/example/pack1/common/dep-uno/foo.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								node_modules/dynamic-dedupe/example/pack1/common/dep-uno/foo.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| 'use strict'; | ||||
|  | ||||
| console.log('loading foo from', __dirname); | ||||
| exports =  module.exports = { foo: 'foobiloo' }; | ||||
							
								
								
									
										4
									
								
								node_modules/dynamic-dedupe/example/pack2/common/dep-uno/foo.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								node_modules/dynamic-dedupe/example/pack2/common/dep-uno/foo.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| 'use strict'; | ||||
|  | ||||
| console.log('loading foo from', __dirname); | ||||
| exports =  module.exports = { foo: 'foobiloo' }; | ||||
		Reference in New Issue
	
	Block a user