Commit Graph

114 Commits

Author SHA1 Message Date
Tobias Koppers 6c86a82a5d Merge branch 'main' into fix-space-limited 2022-01-17 16:32:36 +01:00
Tobias Koppers 616251c069 add a plus before count
handle extension extraction for concatenated modules correctly
2022-01-14 15:27:30 +01:00
Ivan Kopeykin eae11dd27e renaming 2021-12-02 19:30:28 +03:00
Ivan Kopeykin 1a504483b8 fix/refactor spaceLimited
- optimize
- respect max arg when there is no groups and max > items.length
2021-12-02 19:00:31 +03:00
Ivan Kopeykin e2ded57aff fix group when grouping data urls 2021-12-02 09:29:39 +03:00
Ivan Kopeykin fb4cb893e5 limit data url module name in stats printer 2021-12-01 00:26:17 +03:00
Ivan Kopeykin a8afd23578 fix regexp in DefaultStatsPrinterPlugin 2021-11-27 10:59:48 +03:00
Ivan Kopeykin eeb8e890e6 fix regexp in DefaultStatsPrinterPlugin.js 2021-11-08 21:32:02 +03:00
Tobias Koppers d3f8e16810 update webpack-sources for performance problem in hashing
add `stats.reasonsSpace` and `stats.groupReasonsByOrigin` to control large set of reasons
`detailed` preset limites all spaces to 1000 by default

fixes #13825
2021-07-20 13:29:25 +02:00
Tobias Koppers 4845915c0b Lazy require some modules 2021-05-26 21:35:46 +02:00
Tobias Koppers b0fa9ccada pretty files 2021-05-11 09:31:46 +02:00
Tobias Koppers 065177df66 add experimental support for build time execution
allow to execute a part of the module graph at build time
e. g. to generate code or other assets

loaders have access to that via `this.importModule(request, options)`
2021-04-12 12:27:54 +02:00
Tobias Koppers f8b7625c43 expose all Stats child types 2021-03-31 13:37:53 +02:00
Tobias Koppers 0b4506b206 improve typings for loggingDebug and other filtering configuration options 2021-02-22 13:18:27 +01:00
Tobias Koppers 9b448c14d9 debug logging should be included in stats even if stats.logging is false 2021-02-22 12:53:52 +01:00
Tobias Koppers 683621e93f fix stats output in some edge cases 2021-02-13 21:02:47 +01:00
Tobias Koppers 3a8b3d983b hint about how to show child errors and warnings
fixes #12653
2021-02-11 10:53:52 +01:00
Tobias Koppers b29dd3d224 add renderStartup hook 2021-02-09 21:27:10 +01:00
Tobias Koppers 0ac3fd128b fixes #12608 2021-02-06 10:40:32 +01:00
Tobias Koppers 5583c245c9
Merge pull request #12601 from webpack/feature/error-details-auto 2021-02-05 19:58:25 +01:00
Tobias Koppers 1cfc10e4e4
Merge pull request #12228 from davidhouweling/fix/typings-for-stats 2021-02-05 16:03:28 +01:00
Tobias Koppers 03f740a96c Show error details automatically when only 2 or less errors are there
Show message that points you to errorsDetails when error details are hidden
Improve some error messages
Highlight important parts of error message with colors
2021-02-05 15:55:31 +01:00
Tobias Koppers 1c8d138e63 fix syntax, add unknown properties, fix incorrect types 2021-02-05 13:19:32 +01:00
Tobias Koppers 97b83161d9 move responsibility of exports info and connected modules hashing from Dependencies to Module
fixes a bug where modules are incorrectly cached when exports info of connected modules change
2021-01-24 21:36:36 +01:00
David Houweling e04219d048 chore: add typings for DefaultStatsFactoryPlugin, Stats, and MultiStats 2021-01-17 15:18:38 +11:00
Tobias Koppers a945a9b62c use typescript 4.2 2021-01-13 21:40:39 +01:00
Tobias Koppers 10aa3daede add experiments.layers
add layers to define different module layers
support module layers in stats

add layer support for NormalModules

fixes #11466
2021-01-05 20:50:59 +01:00
Tobias Koppers b5b1f25ad2 improve typings for stats related hooks and classes 2020-12-17 18:51:55 +01:00
Tobias Koppers 3385d0d198 avoid expensive work for filtered cached assets 2020-12-04 17:06:38 +01:00
Tobias Koppers b3e8245ce6 avoid expensive work for filtered cached modules 2020-12-04 17:06:37 +01:00
Tobias Koppers ecfcdd06c2 avoid indirection for cache access 2020-12-04 17:06:37 +01:00
Tobias Koppers 2ec90b3687 add asset info for `sourceFilename` and `javascriptModule` 2020-10-22 10:47:23 +02:00
Tobias Koppers 65eca2e529 expose webpack from Compiler
fix some jsdoc descriptions
2020-10-12 20:16:58 +02:00
Tobias Koppers 8b7d8fcf43 allow to collapse items while keeping groups expanded 2020-09-29 11:48:28 +02:00
Tobias Koppers ef98e40bf7 improve grouping by path and extensions for assets and modules 2020-09-29 10:11:38 +02:00
Tobias Koppers f1d23381aa fix total item counting 2020-09-29 10:11:36 +02:00
Tobias Koppers 5b797bb55f do not display loader prefix in bold 2020-09-29 10:11:34 +02:00
Tobias Koppers 45fe45c70f fix some space calculation issues and add comments 2020-09-29 10:11:33 +02:00
Tobias Koppers ea075be453 add config.ignoreWarnings
deprecate stats.warningsFilter
2020-09-20 22:08:38 +02:00
Tobias Koppers 07fc554bef improve warnings and errors handling in stats
respect warningsFilter for warnings count
include child compilation warnings and errors in count
show hint for child compilation errors and warnings
2020-09-20 21:24:15 +02:00
Tobias Koppers d4a95cd6ad display large assets first
sort assets by size
2020-09-17 15:21:14 +02:00
Tobias Koppers ed06a7f83a new Worker() support
add support for async anonymous entrypoints from inside the codebase
add worker example
move entry options into Entrypoint and receive them from there
2020-09-08 07:37:20 +02:00
Tobias Koppers 0afc6a7f48 print entrypoint only when necessary (stats.entrypoints: "auto")
show sizes for entrypoints
2020-09-03 23:29:14 +02:00
Tobias Koppers 8e0c511068 replace hash, version, time and builtAt with build summary at the bottom 2020-09-03 22:12:52 +02:00
Tobias Koppers 8497cd34c6 move start and endTime from Stats to Compilation 2020-09-03 22:01:25 +02:00
Tobias Koppers a778c17fd3 better force handling 2020-09-02 14:10:08 +02:00
Tobias Koppers ce97f40bb7 update test case for changed stats format
fix bug with groupModulesByType flag
rename stats.runtime to stats.runtimeModules
2020-09-02 10:51:10 +02:00
Tobias Koppers 8904dd7b91 rename groupAssetsByStatus to groupAssetsByEmitStatus 2020-09-01 20:52:34 +02:00
Tobias Koppers be021e00f4 add grouping of modules 2020-09-01 18:31:22 +02:00
Tobias Koppers 3ea9400505 add grouping of assets 2020-09-01 18:16:43 +02:00