Commit Graph

63 Commits

Author SHA1 Message Date
Ivan Kopeykin e6c7a57e33 Merge branch 'main' into feature/errors-warnings-space 2023-04-12 18:08:16 +03:00
Nitin Kumar 132ebd5f0f fix: handle case when resourcee is not available 2023-04-07 09:40:03 +00:00
Nitin Kumar ed1036256a refactor: limit module identifier in DefaultStatsPrinterPlugin 2023-04-07 04:40:49 +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
wangqi cbc7beddfa change api trimRight -> trimEnd 2022-08-31 21:41:44 +08: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
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 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 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 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 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 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 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 2ec90b3687 add asset info for `sourceFilename` and `javascriptModule` 2020-10-22 10:47:23 +02:00
Tobias Koppers 5b797bb55f do not display loader prefix in bold 2020-09-29 10:11:34 +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 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 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
Tobias Koppers d0ef2ce43f display assets in stats in a list instead of a table
group related assets below the parent asset
2020-08-02 08:07:32 +02:00
Tobias Koppers 5d67bf64db
Merge pull request #11246 from webpack/bugfix/three-digits
fix digits output of timestamp at 10 o'clock
2020-07-30 18:16:17 +02:00
Tobias Koppers e16bdfda6c refactor used exports analysis, hashing, code generation, optimizations
to keep track of runtimes, used exports depending on runtime

modules can have different hashes and generated code depending on runtime
chunks are only considered as equal for MergeDuplicateChunks and SplitChunks when exports used in contained modules are equal
added `optimization.usedExports: "global"` to opt-out from used exports analysis per runtime
added `splitChunks.usedExports` and `splitChunks.cacheGroups[x].usedExports` to enable/disable used exports comparing for modules
`splitChunks.usedExports` defaults to `true` in production
2020-07-27 22:40:44 +02:00
Tobias Koppers 4deb384872 join asset info flags correctly 2020-06-24 14:01:59 +02:00
Tobias Koppers b9c50fdb09 fix jsdoc documentations 2020-04-28 19:42:58 +02:00
Varun Varada a3b493a365 Fix measurement formatting as per SI rules
According to the SI, there should be a space between a measurement
quantity and its unit symbol, so this commit fixes this issue
throughout Webpack.
2020-04-07 17:27:45 -05:00
Mohsen Azimi 7b07a8db66 Upgrade to Prettier 2 2020-03-28 18:20:24 -04:00
evilebottnawi dafa4cd69a chore: setup cspell 2020-03-12 19:51:26 +03:00
Tobias Koppers 71fda9613c fix digits output of timestamp at 10 o'clock 2020-03-11 11:26:47 +01:00
Nitin Kumar 285529a643
chore: fix typos across the project 2020-03-10 07:29:46 +05:30
Tobias Koppers c94bd66ee5 fix spacing of errors/warnings when details or stack is enabled 2019-11-20 15:54:32 +01:00
Tobias Koppers e8f2a8329d avoid emitting files when they already exits in output filesystem 2019-11-04 09:23:18 +01:00
Tobias Koppers 8d46b21fad add Dependency.getCondition and conditional ModuleGraphConnections
getDependencyReference is no longer used to check of connection
2019-10-30 07:48:32 +01:00
Tobias Koppers 4c3d7c9cbb improve developer experience
add `stats.ids` options which is off by default in toString
sort modules by depth by default
show chunk id hints
improve module and chunks sorting in stats
automatically switch stats.modules off the modules are displayed in chunks
2019-10-10 20:22:13 +02:00
Tobias Koppers 7bde43f47a Merge tag 'v4.40.0' into next
4.40.0
2019-09-13 11:12:26 +02:00
Tobias Koppers b73d35bbee Merge tag 'v4.39.0' into next
4.39.0
2019-08-05 13:12:09 +02:00
Tobias Koppers c17dfde7a8 Merge tag 'v4.37.0' into next
4.37.0
2019-07-24 10:51:04 +02:00