This repository has been archived by the owner on Feb 15, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JENKINS-37714] Take dedupe into account when translating fullPaths t…
…o Ids (#8) * [FIX JENKINS-37714] Take dedupe into account when translating fullPaths to Ids * 0.0.38-beta2 * Search for the list of modules to be imported using a rouch string search Vs using a require transform and explicitly searching the require statements, which can fail ala benbria/browserify-transform-tools#23 * 0.0.38-beta3 * 0.0.38
- Loading branch information
Showing
7 changed files
with
69 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
// Require two different modules having identical content. This | ||
// should cause browserify to dedupe the entries for both of these. | ||
var d1 = require('./dedupe-one'); | ||
var d2 = require('./dedupe-two'); | ||
|
||
console.log(d1); | ||
console.log(d2); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// A file with nothing in it ... dedupe-one and dedupe-two must have identical content | ||
|
||
var module = require('./module4'); | ||
|
||
console.log('*** module: ', module); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// A file with nothing in it ... dedupe-one and dedupe-two must have identical content | ||
|
||
var module = require('./module4'); | ||
|
||
console.log('*** module: ', module); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters