alexander-akait
a1df00d339
refactor: improve eslint configuration and better types
2025-03-12 04:56:14 +03:00
alexander.akait
13dc07e996
test: added
2024-09-26 21:38:33 +03:00
alexander.akait
c5eccb21ca
fix: avoid cache invalidation using `ProgressPlugin` and `importModule`
2024-09-26 19:31:30 +03:00
alexander.akait
c6c45f3313
refactor: code
2024-08-02 19:32:33 +03:00
alexander.akait
93743d233a
refactor: code
2024-08-02 19:32:31 +03:00
alexander.akait
9943f3506a
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
ab3e93b19e
style: fix
2024-06-11 16:09:50 +03:00
alexander.akait
6550cb5c7f
feat: export default handler creator for Progress plugin
2023-06-05 03:06:45 +03:00
Ivan Kopeykin
fe1350a7a2
use beforeRun hook for handle 0
2022-02-24 18:18:12 +03:00
Ivan Kopeykin
a9ada9f919
fix ProgressPlugin log
2022-02-23 16:01:47 +03:00
Tobias Koppers
abcf53296d
update typescript
2022-02-08 10:12:29 +01:00
Tobias Koppers
e21b1d46fe
precompile schemas for improved startup performance
2021-04-16 16:02:58 +02:00
Tobias Koppers
bbb9842dd5
avoid NaN in Progress reporting
2021-02-02 13:09:49 +01:00
Tobias Koppers
85b341d1ec
update progress more often for small numbers
2021-02-02 03:29:22 +01:00
sibiraj-s
3cfa7cf1d9
make ProgressPlugin options optional
2021-01-28 17:57:10 +05:30
Tobias Koppers
5644ac1041
fix a unneeded cache store when using child compilers
2020-10-28 13:43:39 +01:00
evilebottnawi
8c19efb7fd
chore(deps): update `schema-utils`
2020-10-05 21:58:54 +03:00
Tobias Koppers
1991da2c51
reset progress reporter outside of hooks
2020-08-24 18:16:58 +02:00
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