Commit Graph

30 Commits

Author SHA1 Message Date
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
Tobias Koppers 8e69a80847 code linting 2017-01-11 12:29:01 +01:00
d-ph 24179916f7 Fix progress indicator erasing too many characters. Fixes #3591
The code was erasing (actually: moving the caret back for) too many characters
because the number of characters to move back was being overwritten
too early.

The bug manifests itself only in Windows Command Prompt via npm script
and only when webpack is run in conjunction with other npm scripts. Linux
terminal is also affected, but apparently is more graceful (doesn't allow the
backspace character to jump to the previous terminal line).
2016-12-27 18:28:45 +00:00
Tushar Sonawane 6b39a5325c fix 'no-inner-declarations' warnings 2016-10-29 19:30:01 +05:30
Tobias Koppers 01cbeae398 beautify and do tests first 2016-01-11 20:09:30 +01:00
Tobias Koppers 46b12b2095 better ProgressPlugin and fixed bug for multi-compilation 2016-01-09 23:48:37 +01:00
Tobias Koppers 75abfd13b6 more details in the progress plugins
changed handler signature to multiple arguments
2016-01-09 23:17:20 +01:00
Lex Vjatkin 01e7a7cb95 JS API: ProgressPlugin default handler
Default handler moved from CLI args parser to plugin itself.
Now you can use ProgressPlugin in JS API without specifying handler.

Resolves webpack/webpack#1000, SRP
2015-12-10 14:06:20 +01:00
Tobias Koppers f7d799adb4 rebeautify without spacing after keyword 2015-07-16 00:19:23 +02:00
Avi Haiat 0a340f2b1a feat(app): Beautify all lib files 2015-07-13 01:20:09 +03:00
Tobias Koppers cebd3b9722 added linting 2015-04-23 23:55:50 +02:00
Tobias Koppers 84d4df203d better progress 2015-02-04 23:22:30 +01:00
Tobias Koppers 1e37053f7e Sorted out some MultiCompiler issues 2014-06-18 23:02:33 +02:00
Tobias Koppers d56dce7e52 more details in progress 2013-10-12 22:40:15 +02:00
Tobias Koppers d85324c9fd profile progress 2013-07-04 11:02:35 +02:00
Tobias Koppers fd7226ed50 fixes 2013-02-04 15:58:04 +01:00
Tobias Koppers ee01837d66 Refactored everything for 0.9 2013-01-30 18:49:25 +01:00