Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reverse module deconflicting order (#3977)
- Loading branch information
1 parent
85304f2
commit b254672
Showing
138 changed files
with
5,184 additions
and
5,166 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
8 changes: 4 additions & 4 deletions
8
test/chunking-form/samples/basic-chunking/_expected/amd/generated-dep2.js
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 |
---|---|---|
@@ -1,14 +1,14 @@ | ||
define(['exports'], function (exports) { 'use strict'; | ||
|
||
function fn () { | ||
function fn$1 () { | ||
console.log('lib2 fn'); | ||
} | ||
|
||
function fn$1 () { | ||
fn(); | ||
function fn () { | ||
fn$1(); | ||
console.log('dep2 fn'); | ||
} | ||
|
||
exports.fn = fn$1; | ||
exports.fn = fn; | ||
|
||
}); |
8 changes: 4 additions & 4 deletions
8
test/chunking-form/samples/basic-chunking/_expected/amd/main2.js
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
8 changes: 4 additions & 4 deletions
8
test/chunking-form/samples/basic-chunking/_expected/cjs/generated-dep2.js
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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
'use strict'; | ||
|
||
function fn () { | ||
function fn$1 () { | ||
console.log('lib2 fn'); | ||
} | ||
|
||
function fn$1 () { | ||
fn(); | ||
function fn () { | ||
fn$1(); | ||
console.log('dep2 fn'); | ||
} | ||
|
||
exports.fn = fn$1; | ||
exports.fn = fn; |
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
8 changes: 4 additions & 4 deletions
8
test/chunking-form/samples/basic-chunking/_expected/es/generated-dep2.js
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
function fn () { | ||
function fn$1 () { | ||
console.log('lib2 fn'); | ||
} | ||
|
||
function fn$1 () { | ||
fn(); | ||
function fn () { | ||
fn$1(); | ||
console.log('dep2 fn'); | ||
} | ||
|
||
export { fn$1 as f }; | ||
export { fn as f }; |
8 changes: 4 additions & 4 deletions
8
test/chunking-form/samples/basic-chunking/_expected/es/main2.js
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
16 changes: 8 additions & 8 deletions
16
test/chunking-form/samples/chunk-export-deshadowing/_expected/amd/generated-dep1.js
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 |
---|---|---|
@@ -1,23 +1,23 @@ | ||
define(['exports'], function (exports) { 'use strict'; | ||
|
||
function fn () { | ||
function fn$2 () { | ||
console.log('lib fn'); | ||
} | ||
|
||
function fn$1 () { | ||
fn(); | ||
console.log(text$1); | ||
fn$2(); | ||
console.log(text); | ||
} | ||
|
||
var text = 'dep1 fn'; | ||
var text$1 = 'dep1 fn'; | ||
|
||
function fn$2 () { | ||
console.log(text); | ||
function fn () { | ||
console.log(text$1); | ||
} | ||
|
||
var text$1 = 'dep2 fn'; | ||
var text = 'dep2 fn'; | ||
|
||
exports.fn = fn$2; | ||
exports.fn = fn; | ||
exports.fn$1 = fn$1; | ||
|
||
}); |
16 changes: 8 additions & 8 deletions
16
test/chunking-form/samples/chunk-export-deshadowing/_expected/cjs/generated-dep1.js
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 |
---|---|---|
@@ -1,21 +1,21 @@ | ||
'use strict'; | ||
|
||
function fn () { | ||
function fn$2 () { | ||
console.log('lib fn'); | ||
} | ||
|
||
function fn$1 () { | ||
fn(); | ||
console.log(text$1); | ||
fn$2(); | ||
console.log(text); | ||
} | ||
|
||
var text = 'dep1 fn'; | ||
var text$1 = 'dep1 fn'; | ||
|
||
function fn$2 () { | ||
console.log(text); | ||
function fn () { | ||
console.log(text$1); | ||
} | ||
|
||
var text$1 = 'dep2 fn'; | ||
var text = 'dep2 fn'; | ||
|
||
exports.fn = fn$2; | ||
exports.fn = fn; | ||
exports.fn$1 = fn$1; |
16 changes: 8 additions & 8 deletions
16
test/chunking-form/samples/chunk-export-deshadowing/_expected/es/generated-dep1.js
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 |
---|---|---|
@@ -1,18 +1,18 @@ | ||
function fn () { | ||
function fn$2 () { | ||
console.log('lib fn'); | ||
} | ||
|
||
function fn$1 () { | ||
fn(); | ||
console.log(text$1); | ||
fn$2(); | ||
console.log(text); | ||
} | ||
|
||
var text = 'dep1 fn'; | ||
var text$1 = 'dep1 fn'; | ||
|
||
function fn$2 () { | ||
console.log(text); | ||
function fn () { | ||
console.log(text$1); | ||
} | ||
|
||
var text$1 = 'dep2 fn'; | ||
var text = 'dep2 fn'; | ||
|
||
export { fn$1 as a, fn$2 as f }; | ||
export { fn$1 as a, fn as f }; |
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
8 changes: 4 additions & 4 deletions
8
test/chunking-form/samples/chunk-live-bindings/_expected/amd/generated-dep1.js
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 |
---|---|---|
@@ -1,25 +1,25 @@ | ||
define(['exports'], function (exports) { 'use strict'; | ||
|
||
function fn () { | ||
function fn$2 () { | ||
console.log('lib fn'); | ||
} | ||
|
||
function fn$1 () { | ||
fn(); | ||
fn$2(); | ||
console.log(exports.text); | ||
exports.text$1 = 'dep1 fn after dep2'; | ||
} | ||
|
||
exports.text$1 = 'dep1 fn'; | ||
|
||
function fn$2 () { | ||
function fn () { | ||
console.log(exports.text$1); | ||
exports.text = 'dep2 fn after dep1'; | ||
} | ||
|
||
exports.text = 'dep2 fn'; | ||
|
||
exports.fn = fn$2; | ||
exports.fn = fn; | ||
exports.fn$1 = fn$1; | ||
|
||
}); |
8 changes: 4 additions & 4 deletions
8
test/chunking-form/samples/chunk-live-bindings/_expected/cjs/generated-dep1.js
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 |
---|---|---|
@@ -1,23 +1,23 @@ | ||
'use strict'; | ||
|
||
function fn () { | ||
function fn$2 () { | ||
console.log('lib fn'); | ||
} | ||
|
||
function fn$1 () { | ||
fn(); | ||
fn$2(); | ||
console.log(exports.text); | ||
exports.text$1 = 'dep1 fn after dep2'; | ||
} | ||
|
||
exports.text$1 = 'dep1 fn'; | ||
|
||
function fn$2 () { | ||
function fn () { | ||
console.log(exports.text$1); | ||
exports.text = 'dep2 fn after dep1'; | ||
} | ||
|
||
exports.text = 'dep2 fn'; | ||
|
||
exports.fn = fn$2; | ||
exports.fn = fn; | ||
exports.fn$1 = fn$1; |
20 changes: 10 additions & 10 deletions
20
test/chunking-form/samples/chunk-live-bindings/_expected/es/generated-dep1.js
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 |
---|---|---|
@@ -1,20 +1,20 @@ | ||
function fn () { | ||
function fn$2 () { | ||
console.log('lib fn'); | ||
} | ||
|
||
function fn$1 () { | ||
fn(); | ||
console.log(text$1); | ||
text = 'dep1 fn after dep2'; | ||
fn$2(); | ||
console.log(text); | ||
text$1 = 'dep1 fn after dep2'; | ||
} | ||
|
||
var text = 'dep1 fn'; | ||
var text$1 = 'dep1 fn'; | ||
|
||
function fn$2 () { | ||
console.log(text); | ||
text$1 = 'dep2 fn after dep1'; | ||
function fn () { | ||
console.log(text$1); | ||
text = 'dep2 fn after dep1'; | ||
} | ||
|
||
var text$1 = 'dep2 fn'; | ||
var text = 'dep2 fn'; | ||
|
||
export { fn$1 as a, text as b, fn$2 as f, text$1 as t }; | ||
export { fn$1 as a, text$1 as b, fn as f, text as t }; |
Oops, something went wrong.