-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test cases for stats.moduleTrace option
- Loading branch information
Even Alander
committed
Apr 29, 2017
1 parent
958156a
commit 8ad4386
Showing
6 changed files
with
33 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Hash: 6e950f2e83663cb6e9a6 | ||
Time: Xms | ||
Asset Size Chunks Chunk Names | ||
main.js 2.81 kB 0 [emitted] main | ||
chunk {0} main.js (main) 25 bytes [entry] [rendered] | ||
[0] (webpack)/test/statsCases/module-trace-disabled/index.js 25 bytes {0} [built] | ||
|
||
ERROR in (webpack)/test/statsCases/module-trace-disabled/index.js | ||
Module not found: Error: Can't resolve 'does-not-exist' in 'Xdir/module-trace-disabled' |
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 @@ | ||
require('does-not-exist') |
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,6 @@ | ||
module.exports = { | ||
entry: "./index", | ||
stats: { | ||
moduleTrace: false | ||
} | ||
}; |
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,10 @@ | ||
Hash: 6e950f2e83663cb6e9a6 | ||
Time: Xms | ||
Asset Size Chunks Chunk Names | ||
main.js 2.81 kB 0 [emitted] main | ||
chunk {0} main.js (main) 25 bytes [entry] [rendered] | ||
[0] (webpack)/test/statsCases/module-trace-enabled/index.js 25 bytes {0} [built] | ||
|
||
ERROR in (webpack)/test/statsCases/module-trace-enabled/index.js | ||
Module not found: Error: Can't resolve 'does-not-exist' in 'Xdir/module-trace-enabled' | ||
@ (webpack)/test/statsCases/module-trace-enabled/index.js 1:0-25 |
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 @@ | ||
require('does-not-exist') |
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,6 @@ | ||
module.exports = { | ||
entry: "./index", | ||
stats: { | ||
moduleTrace: true | ||
} | ||
}; |