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
aimergenge
7996883cab
solving outputing unnecessary spaces
...
`…` is causing terminals like git bash on windows to output unnecessary spaces
2018-08-28 16:09:21 +08:00
Florent Cailhol
7b02084bc5
Replace Basic and Advanced optimzation hooks by stages
2018-08-16 14:10:51 +02:00
Tobias Koppers
cf5f1d723c
format existing code
2018-07-30 21:29:21 +02:00
Tobias Koppers
de16162783
Merge pull request #7442 from elliottsj/after-emit-progress
...
Allow afterEmit plugins to use `reportProgress`
2018-05-30 22:45:21 +02:00
Spencer Elliott
605064bb2e
Add `reportProgress` function to afterEmit hook context
2018-05-30 11:52:47 -07:00
Florent Cailhol
faf04e005c
Update prettier to v1.13
2018-05-29 16:14:16 +02:00
Jaehwan Moon
737eaa51b6
Fix a bug where ProgressPlugin is not working properly with MultiCompiler
2018-05-11 13:07:31 -04:00
Florent Cailhol
72786beee7
Use ellipsis instead of '...'
2018-03-22 10:54:18 +01:00
Tobias Koppers
5238159d21
run prettier on existing code
2018-02-25 02:00:20 +01:00
Florent Cailhol
d4811b0d37
Use for-of loops instead of forEach
2018-01-23 22:53:18 +01:00
Florent Cailhol
7dd41b55c6
Replace deprecated Tapable#apply by Plugin#apply
2017-12-20 11:53:56 +01:00
Tobias Koppers
96d91631f6
remove "pass" from progress plugin
...
we will eventually replace the optimizing with a loop plugin
2017-12-13 10:09:35 +01:00
Tobias Koppers
6d80065bd0
improve ProgressPlugin
2017-12-12 17:03:37 +01:00
Florent Cailhol
36c690d37f
Use tapable instead of 'plugin'
2017-12-08 14:23:31 +01:00
Tobias Koppers
75f68a2635
fixes linting, remove not needed context arguments
2017-11-08 20:49:41 +01:00
Tobias Koppers
f7c2f8e470
Update code style to arrow functions
2017-11-08 11:56:01 +01:00
Tobias Koppers
f1739f9af9
add new hook to progress
2017-05-28 17:19:48 +02:00
J Huang
94d0641ba4
perf: use Date.now() instead of +new Date()
...
+new Date() is 2x slower than Date.now(), see https://jsperf.com/new-date-vs-date-now-vs-performance-now/6
2017-05-04 10:19:10 +08:00
Jan-André Zinser
64340c778e
Fix ProgressPlugin for multi compiler caused by ES6 refactoring
...
arguments can not be used within arrow functions
2017-04-02 19:07:30 +02:00
SendilKumar N
a9ae64a6c9
Refactor(ES6): Lint fixes
2017-02-22 16:12:24 +08:00
SendilKumar N
3e22f61bf1
Refactor(ES6): ProgressPlugin
2017-02-22 15:57:56 +08:00