Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
early exportMode detection, remove default indirection
- Loading branch information
1 parent
c084d4a
commit 32913d0cc21352860d1e5b7a612d60d711ef8cf7
Showing
12 changed files
with
27 additions
and
38 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
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
@@ -1,7 +1,5 @@ | ||
define(['./main2.js'], function (main2) { 'use strict'; | ||
|
||
main2 = { default: main2 }; | ||
|
||
main2.default(); | ||
main2(); | ||
|
||
}); |
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
@@ -1,5 +1,5 @@ | ||
'use strict'; | ||
|
||
var main2 = { default: require('./main2.js') }; | ||
var main2 = require('./main2.js'); | ||
|
||
main2.default(); | ||
main2(); |
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
@@ -1,9 +1,7 @@ | ||
define(['./first.js'], function (first) { 'use strict'; | ||
|
||
first = { default: first }; | ||
|
||
|
||
|
||
return first.default; | ||
return first; | ||
|
||
}); |
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
@@ -1,8 +1,6 @@ | ||
define(['./first.js'], function (first) { 'use strict'; | ||
|
||
first = { default: first }; | ||
|
||
console.log(first.default); | ||
console.log(first.default); | ||
console.log(first); | ||
console.log(first); | ||
|
||
}); |
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
@@ -1,7 +1,5 @@ | ||
define(['./first.js'], function (first) { 'use strict'; | ||
|
||
first = { default: first }; | ||
|
||
|
||
|
||
}); |
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
@@ -1,7 +1,7 @@ | ||
'use strict'; | ||
|
||
var first = { default: require('./first.js') }; | ||
var first = require('./first.js'); | ||
|
||
|
||
|
||
module.exports = first.default; | ||
module.exports = first; |
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
@@ -1,6 +1,6 @@ | ||
'use strict'; | ||
|
||
var first = { default: require('./first.js') }; | ||
var first = require('./first.js'); | ||
|
||
console.log(first.default); | ||
console.log(first.default); | ||
console.log(first); | ||
console.log(first); |