Tobias Koppers
0989edb8dd
fix unneeded store in ProgressPlugin
2020-08-24 18:16:55 +02:00
Tobias Koppers
1ac28f7fc2
improve progress reporting
2020-08-14 10:54:26 +02:00
Tobias Koppers
ca369f23c5
do cache related tasks after calling handler in watching
...
improve progress output
2020-08-01 09:00:17 +02:00
Tobias Koppers
fd9b399ae9
Create Cache facade to make it easier to use
...
add missing serializers for classes used in test suite
2020-07-15 11:14:28 +02:00
Tobias Koppers
dc37d6910a
add finishMake hook to Compiler
2020-06-10 16:28:59 +02:00
Tobias Koppers
49752a06a8
cleanup asset processing
...
deprecate writing to compilation.assets after sealing.
merge all asset processing into single hook with stages.
Deprecate additionalChunkAssets and optimizeChunkAssets.
Redirect additionalAssets, optimizeAssets to processAssets for backward-compat.
Remove finishAssets hook without deprecation as it was not in v4.
2020-05-22 10:39:21 +02:00
Tobias Koppers
6d67ebc91c
ensure progress is monotonic increasing
2020-04-28 21:02:34 +02:00
Anix
fd03fbd2f9
chore: added more compiler hooks progress
2020-04-28 21:02:31 +02:00
Tobias Koppers
34a6817fe7
ignore some timing-depend code parts for coverage
2020-04-21 16:29:13 +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
Tobias Koppers
6477ca56f8
Split options defaulting in normalization and defaults
...
Apply defaults after plugins are applied to allow plugins to feature their own defaults.
This allows to make preset plugins.
2020-02-17 19:12:54 +01:00
Sergey Melyukov
57807941ea
feat(ProgressPlugin): save total module count on compile end and restore it before compile start
2020-02-17 15:23:14 +03:00
Tobias Koppers
56036a55ad
Merge pull request #10315 from smelukov/pregress-percent-by
...
add percentBy options to ProgressPlugin
2020-02-05 10:09:38 +01:00
Tobias Koppers
18ae77ef56
addEntry takes options object instead of only name
...
remove duplication in EntryOptionsPlugin and DynamicEntryPlugin
lazy require (Dynamic)EntryPlugin in EntryOptionsPlugin
2020-02-04 21:21:42 +01:00
Sergey Melyukov
bb4a0e83bc
add percentBy options to ProgressPlugin
2020-01-30 12:53:36 +03:00
Tobias Koppers
131e4177ff
remove Array.prototype.reduce calls to simplify code
2020-01-18 19:56:19 +01:00
Tobias Koppers
e18e72b294
remove Array.prototype.reduce calls to simplify code
2020-01-18 16:37:06 +01:00
Yaroslav Peteychuk
c48eaeebf1
Minor fix: redundant default parameters
2020-01-14 14:14:37 +02:00
Tobias Koppers
6a3680bd68
improved progress and progress profiling
2019-12-20 16:34:51 +01:00
Tobias Koppers
58d6c26197
add finishAssets to ProgressPlugin
2019-11-12 16:11:06 +01:00
Tobias Koppers
552ca1e3b9
add dependencies to ProgressPlugin
...
include module dependencies in module progress
improve progress percentage calculation
2019-11-12 11:49:48 +01:00
Tobias Koppers
8fb1269cf1
only force update on module build when active module should be displayed
2019-11-12 10:55:54 +01:00
Tobias Koppers
6e22873f9c
hide number of active modules in progress, it's useless
2019-10-10 19:08:51 +02:00
Tobias Koppers
ddc3dae0e6
refactor Module.source() and Module.getRuntimeRequirements() into Module.codeGeneration
...
add code generation phase to Compilation
add `output.iife` options to remove iife wrapper
add `experiments.outputModule` which enabled `output.module`
add `output.module` which sets defaults to `output.iife: false`, `output.libraryTarget: "module"`, `output.jsonpScriptType: "module"`, `terserOptions.module: true`
add `output.module` example
improve runtime requirements needed by ConcatenatedModule
add entry inlining, which inlines entry module code into runtime scope (only when safe)
make whole bundle strict when all modules are strict
2019-10-08 23:59:48 +02:00
evilebottnawi
6a99b5316d
refactor: migrate on `schema-utils`
2019-08-07 18:10:40 +03:00
Tobias Koppers
b73d35bbee
Merge tag 'v4.39.0' into next
...
4.39.0
2019-08-05 13:12:09 +02:00
Tobias Koppers
8f0a443e6c
Colored console for node environment
...
Status report in logger
ProgressPlugins uses logger
2019-08-01 13:51:18 +02:00
Tobias Koppers
cae07597f6
refactor to single write per update
...
throttle unimportant updates
2019-07-26 13:49:12 +02:00
Tobias Koppers
f29991bda4
don't show 0ms messages while profiling in the ProgressPlugin
2019-07-26 13:49:06 +02:00
Tobias Koppers
1d76d07971
improve progress display for persistent caching
2019-07-26 13:48:45 +02:00
Tobias Koppers
d244ca9458
avoid too frequent progress display
...
#9460
2019-07-24 22:41:14 +02:00
Tobias Koppers
fde3f6298d
fix low hanging performance problems with ProgressPlugin
...
#9460
2019-07-24 22:39:44 +02:00
Tobias Koppers
4283b8b51a
Merge pull request #9312 from webpack/refactor/object-spread
...
replace Object.assign with object spread
2019-06-21 11:22:00 +02:00
Tobias Koppers
ec88b7eddc
Merge tag 'v4.35.0' into next
...
4.35.0
2019-06-21 09:15:49 +02:00
Tobias Koppers
b2e7837288
replace Object.assign with object spread
2019-06-19 13:16:05 +02:00
Ben Kucera
7aefa64b0a
refactor test, evenly truncate details text, properly handle undefined stderr.columns
2019-06-04 12:33:55 -04:00
Ben Kucera
e7c2b7d813
fix progress on line wrap (trim line to stderr.columns)
2019-06-03 18:27:38 -04:00
Florent Cailhol
b12f24d20c
Update hook types
2019-05-10 09:52:22 +02:00
Tobias Koppers
c1e89c0543
Runtime requirement support in NormalModule, Generators and DependencyTemplate
2018-11-29 16:06:12 +01:00
Florent Cailhol
15997e2324
Remove context usage in ProgressPlugin
2018-11-27 08:58:43 +01:00
Tobias Koppers
d197b6664a
show module count earlier when they are added to the queue
2018-11-05 11:07:35 +01:00
Tobias Koppers
b19337e2ad
Partial update of #8279 , defaults can be changed in a breaking way
2018-11-05 10:28:37 +01:00
Tobias Koppers
8cf1cdb74f
Merge tag 'v4.25.0' into next
...
4.25.0
2018-11-05 10:27:45 +01:00
Tobias Koppers
3d745045a1
add missing hooks to progress
2018-11-04 10:36:47 +01:00
Tobias Koppers
56d8a8f010
prevent writing the same message multiple times to stderr
2018-11-04 10:33:37 +01:00
Tobias Koppers
64e3826067
use flags to show different parts of the progress message
...
refactor activeModules to Set for performance reasons
2018-11-04 10:33:14 +01:00
Sergey Melyukov
aa8cb0fab7
ProgressPlugin: refactoring
2018-10-29 15:49:31 +03:00
Tobias Koppers
b4860ccebb
refactor chunk id plugins
2018-09-05 14:28:52 +02:00
Tobias Koppers
4d7b5b3b5e
Refactor module id plugins to be independent
2018-09-03 20:45:44 +02:00
Tobias Koppers
51a13926ad
Merge tag 'v4.17.2' into next
...
4.17.2
2018-09-03 20:06:19 +02:00