Commit Graph

133 Commits

Author SHA1 Message Date
Mike Greiling a9c0bfdb1b ensure hasErrors() and hasWarnings() check child compilations as well 2017-12-22 00:10:47 -06:00
Tobias Koppers b597322e3c fix behavior and add a warning when trying to load an
initial chunk on demand
2017-10-17 09:06:05 +02:00
Joe Bottigliero 33223aa3d4 [#4886] --env output
- Adds stats.env to enable the out put of --env arguments passed to the webpack configuration.
2017-10-11 20:37:30 -05:00
Tobias Koppers 7fe03718f2 display better message, instead of empty list 2017-08-02 23:45:02 +02:00
Ricky Lippmann 05f7b2d5b7 Add excludeModules and allow multiple options as fallbackchain. 2017-07-27 18:33:10 +02:00
Ricky Lippmann d1b3b4f8b9 Moved hidden assets message out of the assets table. 2017-07-27 10:11:58 +02:00
Ricky Lippmann a3d556782d Add notification for hidden assets. 2017-07-26 16:03:06 +02:00
Ricky Lippmann c9cbaf04e7 Fix linting issues 2017-07-26 14:22:47 +02:00
Ricky Lippmann 82217992b7 Add new option "excludeAssets" to Stats 2017-07-26 11:46:31 +02:00
Tobias Koppers 838d416874 Merge branch 'master' into deps/extract-text-webpack-plugin 2017-07-24 14:16:05 +02:00
Tobias Koppers 7d5916c50e make child names relative 2017-07-24 13:28:33 +02:00
Tobias Koppers 991b360c90 fix useless-escape linting issues 2017-07-24 11:54:06 +02:00
Tobias Koppers b9adfaaf76 rewrite code which uses unshift to push 2017-07-18 20:46:59 +02:00
Tobias Koppers d6a7594d38 harmony modules without exports have no exports instead of unknown 2017-06-14 22:46:10 +02:00
Tobias Koppers 6058483d74 default chunk modules in Stats to true 2017-06-09 15:05:38 +02:00
Tobias Koppers 0f16dd95b1 fixes incorrect CLI stats output
add "detailed" preset
clean up presets to do more useful stuff

fixes #4141
fixes #4118
2017-06-01 15:03:26 +02:00
Tobias Koppers 8b81788a73 fixes for stats 2017-05-28 19:20:17 +02:00
Tobias Koppers d8539561fd add optimization bailout info
track optimization bailout in concat plugin
2017-05-28 15:25:07 +02:00
Tobias Koppers 2bd2d2844c improve a few issues
from review by @Kovensky
2017-05-20 14:54:42 +02:00
Tobias Koppers 8d3efe7d63 Merge branch 'next' into perf/modules-set 2017-05-16 14:37:03 +02:00
Tobias Koppers e1bac32c19 Use a Set to store modules in a chunk 2017-05-16 11:50:50 +02:00
Even Alander 41310135bb rename stats.stackTrace to stats.moduleTrace 2017-04-28 09:20:14 +02:00
Even Alander 7e4310a175 add option to lib/Stats.js to disable stack trace on errors and warnings 2017-04-27 10:22:20 +02:00
Tobias Koppers e8bc9c2b3b use a Set for Module.chunks 2017-04-18 23:27:25 +02:00
e-cloud 52055ba07e refactor: dead code elimination
remove those code not defined but used;
remove unused code
2017-04-11 19:43:05 +08:00
Tim Sebastian 8e93875e61 filter warnings in `toJson` to also filter output for --json flag 2017-02-28 23:16:02 +11:00
Tim Sebastian 45501ce0fc allow to suppress warnings based on string/regexp/function "warningsFilter" flag in stats 2017-02-25 15:54:47 +11:00
Tim Sebastian 8c57db30c5 Allow to reverse sort order in Stats by prefixing the sort key with a "!" 2017-02-07 21:17:20 +11:00
Tim Sebastian fad4021890 rename `d` to a readable name 2017-02-07 20:42:36 +11:00
Tim Sebastian ebc8b8b429 readd handling keys with "!" as first char 2017-02-06 21:40:06 +11:00
Tim Sebastian a72eab8e45 change sortByField to prevent deadlock
- returning a function fails the linter as it wants `return()=>` without space
- removing the space fails eslint
2017-02-05 13:09:56 +11:00
Tim Sebastian 79a36a66ff make use of the block scoping nature of let 2017-02-05 12:20:23 +11:00
Tim Sebastian 424a0aead9 the first "if" part always gets override by the default, is that intended @sokra? 2017-02-05 12:20:23 +11:00
Tim Sebastian dd2aec72e1 avoid let in Stats 2017-02-05 12:20:22 +11:00
Sean Larkin aa90166ebc Merge pull request #3524 from webpack/bugfix/fix_stats_when_passed_array
fix(stats): allow stats to respect array of configs, also bump deps.
2017-01-11 09:15:42 -06:00
Tobias Koppers f1d56dcc74 add support for multiple different stats objects 2017-01-11 14:37:47 +01:00
Tobias Koppers 8e69a80847 code linting 2017-01-11 12:29:01 +01:00
Sean Larkin 225994b607 Remove bad stats merge 2017-01-10 10:53:41 -06:00
Sean Larkin 03d37489fe Merge branch 'master' into bugfix/fix_stats_when_passed_array 2017-01-10 10:27:29 -06:00
Tobias Koppers 9380bd4c12 Bugfix/disable module in harmony (#3755)
* moved format location into separate file
allow dependencies to report errors too

* NullDependencies do not change the hash

* dependencies can opt-out from `__webpack_require__` param

* apply module syntax plugins earlier

* emit errors if using AMD or CommonJS syntax in harmony modules
2017-01-09 10:11:34 -06:00
Will Mendes b7c1b5c672 refactor(ES6): upgrade Stats to ES6 (#3724) 2017-01-04 11:24:55 -06:00
Sean Larkin 9014901b9c Merge branch 'master' into bugfix/fix_stats_when_passed_array 2016-12-29 14:34:02 -06:00
Tobias Koppers 71cf49a259 add depth to module
add depth to stats
fix stats spacing (fixes #3541)
add maxModules to stats, default to 15 (fixes #3540)
2016-12-21 18:03:20 +01:00
Sean Larkin a4106ea98f fix(stats): allow stats to respect config for MultiCompiler, MultiStats 2016-12-19 16:53:30 -06:00
Tobias Koppers d08c9b180e flag entrypoint in stats too 2016-12-14 11:50:44 +01:00
Tobias Koppers 37b7474651 Refactoring, make options simpler
breaking change: performance options changed
2016-12-14 11:33:57 +01:00
Tobias Koppers 3dfab1053b beautify 2016-12-07 17:22:21 +01:00
Sean Larkin 44f6f07ec2 chore(performance): cleanup logic errors, reformat test expects with new colomn [big] format if empty 2016-12-07 17:22:20 +01:00
Sean Larkin c6850b3481 chore(performance): cleaned up unused variables, removed compilation from constructor, added stats additional messages 2016-12-07 17:22:20 +01:00
Sean Larkin 1f9e1a69c6 chore(performance): extract formatSize to helper class, make stats table more reusable 2016-12-07 17:22:19 +01:00