Commit Graph

103 Commits

Author SHA1 Message Date
Alexander Akait f2521e043a
refactor: delete unused statements in DefaultStatsFactoryPlugin 2024-11-20 18:01:20 +03:00
alexander.akait 6589de0b63 fix: types 2024-10-24 21:13:59 +03:00
alexander.akait e9b92650cd fix: types 2024-10-02 04:21:28 +03:00
alexander.akait 3c675c5510 refactor: fix logic 2024-08-13 19:09:15 +03:00
alexander.akait f7fd4ae43a fix: `related` in asset stats is now always an array 2024-08-13 18:13:07 +03:00
alexander.akait 1805436d3b fix: types 2024-08-07 21:59:26 +03:00
alexander.akait adf2a6b7c6 fix: a lot of types 2024-08-06 06:08:48 +03:00
alexander.akait 93743d233a refactor: code 2024-08-02 19:32:31 +03:00
alexander.akait 1fe55ac7b5 refactor: improve code 2024-08-02 19:32:27 +03:00
alexander.akait 9943f3506a style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait 0b745968a2 style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait b9d9a5d9ff style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait c914fe202a style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait ac0bd21801 style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait 500ee96dcb style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait 5725254415 style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait ab3e93b19e style: fix 2024-06-11 16:09:50 +03:00
Nitin Kumar 412ae5425e chore: udpate prettier to v3 2024-01-14 07:11:34 +05:30
Sean Larkin e958ac552b refactor(types): Improve module type strictness and refactor module type string usages in module subclasses 2023-05-04 23:19:11 +00:00
Ivan Kopeykin e4a024f9b1 Merge branch 'main' into feature/errors-warnings-space
# Conflicts:
#	schemas/WebpackOptions.check.js
2023-04-06 11:43:05 +03:00
ahabhgk 2816ef4b53 fix: delete redundant statements in DefaultStatsFactoryPlugin 2022-10-20 16:19:07 +08:00
Tobias Speicher 8f56fcba72
Replace deprecated String.prototype.substr()
String.prototype.substr() is deprecated (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr) so we replace it with slice() which works similarily but isn't deprecated.
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-03-13 22:54:18 +01:00
Ivan Kopeykin 1185a515ba fix cspell 2022-03-08 14:29:40 +03:00
Tobias Koppers ae9c63cadf move details limiting back to factory 2022-03-08 14:28:05 +03:00
Ivan Kopeykin c14f1878ca move hidden lines to stats printer 2022-03-04 11:46:11 +03:00
Ivan Kopeykin 38bffd1306 refactor errorDetails logic 2022-03-03 11:31:29 +03:00
Ivan Kopeykin 8667b683bb support filteredErrorDetailsCount/filteredWarningDetailsCount 2022-02-28 18:05:35 +03:00
Ivan Kopeykin 55f0535f10 feature errorsSpace, warningsSpace 2022-02-27 14:37:53 +03:00
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
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 b29dd3d224 add renderStartup hook 2021-02-09 21:27:10 +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 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
David Houweling e04219d048 chore: add typings for DefaultStatsFactoryPlugin, Stats, and MultiStats 2021-01-17 15:18:38 +11: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 8b7d8fcf43 allow to collapse items while keeping groups expanded 2020-09-29 11:48:28 +02:00