forked from webpack/webpack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
smaller bundles by using module.e instead of module.exports
same for module.loaded and module.id
- Loading branch information
Showing
22 changed files
with
90 additions
and
51 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
it("should polyfill module", function() { | ||
var m = module; | ||
|
||
(typeof m.id).should.be.not.eql("undefined"); | ||
m.children.should.be.eql([]); | ||
m.exports.should.be.eql({}); | ||
m.loaded.should.be.eql(true); | ||
}); |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Hash: 0fca0b37055d42f98682 | ||
Time: Xms | ||
Asset Size Chunks Chunk Names | ||
main.js 1.41 kB 0 [emitted] main | ||
main.js 1.37 kB 0 [emitted] main | ||
chunk {0} main.js (main) 0 bytes [rendered] | ||
[0] (webpack)/test/statsCases/color-disabled/index.js 0 bytes {0} [built] |
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,6 +1,6 @@ | ||
Hash: <CLR=BOLD>0fca0b37055d42f98682</CLR> | ||
Time: <CLR=BOLD>X</CLR>ms | ||
<CLR=BOLD>Asset</CLR> <CLR=BOLD>Size</CLR> <CLR=BOLD>Chunks</CLR> <CLR=39,BOLD><CLR=22> <CLR=BOLD>Chunk Names</CLR> | ||
<CLR=32>main.js</CLR> 1.41 kB <CLR=BOLD>0</CLR> <CLR=32>[emitted]</CLR> main | ||
<CLR=32>main.js</CLR> 1.37 kB <CLR=BOLD>0</CLR> <CLR=32>[emitted]</CLR> main | ||
chunk {<CLR=33>0</CLR>} <CLR=32>main.js</CLR> (main) 0 bytes<CLR=32> [rendered]</CLR> | ||
[0] <CLR=BOLD>(webpack)/test/statsCases/color-enabled-custom/index.js</CLR> 0 bytes {<CLR=33>0</CLR>}<CLR=32> [built]</CLR> |
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,6 +1,6 @@ | ||
Hash: <CLR=BOLD>0fca0b37055d42f98682</CLR> | ||
Time: <CLR=BOLD>X</CLR>ms | ||
<CLR=BOLD>Asset</CLR> <CLR=BOLD>Size</CLR> <CLR=BOLD>Chunks</CLR> <CLR=39,BOLD><CLR=22> <CLR=BOLD>Chunk Names</CLR> | ||
<CLR=32,BOLD>main.js</CLR> 1.41 kB <CLR=BOLD>0</CLR> <CLR=32,BOLD>[emitted]</CLR> main | ||
<CLR=32,BOLD>main.js</CLR> 1.37 kB <CLR=BOLD>0</CLR> <CLR=32,BOLD>[emitted]</CLR> main | ||
chunk {<CLR=33,BOLD>0</CLR>} <CLR=32,BOLD>main.js</CLR> (main) 0 bytes<CLR=32,BOLD> [rendered]</CLR> | ||
[0] <CLR=BOLD>(webpack)/test/statsCases/color-enabled/index.js</CLR> 0 bytes {<CLR=33,BOLD>0</CLR>}<CLR=32,BOLD> [built]</CLR> |
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,15 +1,15 @@ | ||
Hash: 9874287bb38ab21ad7571557d04931c0902dd6cd | ||
Hash: 5f941d2606b3f10b3f0bb1cf3421f227a5b81cc6 | ||
Child | ||
Hash: 9874287bb38ab21ad757 | ||
Hash: 5f941d2606b3f10b3f0b | ||
Time: Xms | ||
Asset Size Chunks Chunk Names | ||
main.js 1.46 kB 0 [emitted] main | ||
main.js 1.41 kB 0 [emitted] main | ||
chunk {0} main.js (main) 24 bytes [rendered] | ||
[0] (webpack)/test/statsCases/define-plugin/index.js 24 bytes {0} [built] | ||
Child | ||
Hash: 1557d04931c0902dd6cd | ||
Hash: b1cf3421f227a5b81cc6 | ||
Time: Xms | ||
Asset Size Chunks Chunk Names | ||
main.js 1.46 kB 0 [emitted] main | ||
main.js 1.41 kB 0 [emitted] main | ||
chunk {0} main.js (main) 24 bytes [rendered] | ||
[0] (webpack)/test/statsCases/define-plugin/index.js 24 bytes {0} [built] |
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,7 +1,7 @@ | ||
Hash: ea561aa543731a7f84b9 | ||
Time: Xms | ||
Asset Size Chunks Chunk Names | ||
main.js 1.54 kB 0 [emitted] main | ||
Asset Size Chunks Chunk Names | ||
main.js 1.5 kB 0 [emitted] main | ||
chunk {0} main.js (main) 59 bytes [rendered] | ||
[0] (webpack)/test/statsCases/external/index.js 17 bytes {0} [built] | ||
[1] external "test" 42 bytes {0} [not cacheable] |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Hash: b85ca8f6c28cbbc3320d | ||
Time: Xms | ||
Asset Size Chunks Chunk Names | ||
bundle.js 1.41 kB 0 [emitted] main | ||
bundle.js 1.37 kB 0 [emitted] main | ||
chunk {0} bundle.js (main) 0 bytes [rendered] | ||
[0] (webpack)/test/statsCases/simple/index.js 0 bytes {0} [built] |