Commit Graph

89 Commits

Author SHA1 Message Date
alexander.akait 93743d233a refactor: code 2024-08-02 19:32:31 +03:00
alexander.akait 1fe55ac7b5 refactor: improve code 2024-08-02 19:32:27 +03:00
alexander.akait 9943f3506a 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 423e89b2c7 style: improve style of code 2024-08-02 19:32:13 +03:00
alexander.akait ab3e93b19e style: fix 2024-06-11 16:09:50 +03:00
alexander.akait 637bdc1e72 refactor: code 2024-05-07 19:04:11 +03:00
alexander.akait 677dc53080 refactor: logic 2024-05-07 19:01:41 +03:00
Ivan Kopeykin 24f8a3a1b7 fix warnings 2024-05-01 15:06:35 +03:00
Ivan Kopeykin 5203fbf5c9 add default cache names in multicompiler mode 2024-04-13 07:12:56 +03:00
Ivan Kopeykin 513126d33c add default cache names in multicompiler mode 2024-04-12 21:18:46 +03:00
Ivan Kopeykin d00aa38604 Merge branch 'main' into feature/issue-14843 2024-04-12 15:21:53 +03:00
alexander.akait a1f46a9ac3 fix: types 2024-02-21 17:55:02 +03:00
alexander.akait 6cd0ddbf26 fix: types 2024-02-21 17:05:29 +03:00
alexander.akait 9f63f7013a refactor: more types 2024-02-16 20:39:12 +03:00
Ivan Kopeykin 076bc4af7f validate compiler options in multicompiler mode 2022-03-02 21:16:17 +03:00
Asriel Yu 136b723023 fix callback err type should include null 2021-12-24 20:27:31 +08:00
Tobias Koppers b6609a4f6b add `experiments.buildHttp`
allows to build remote resources
stores remote resources in a lockfile
2021-08-05 15:47:18 +02:00
Tobias Koppers 49182bf5ad close compilers in MultiCompiler test 2021-07-13 10:50:38 +02:00
Tobias Koppers 878ce6b11a respect multi compiler `dependencies` and `parallelism` when using `invalidate` 2021-05-17 13:49:43 +02:00
Seth Benjamin 94bd3bc6f9 fix: allow invalidation after first watch run 2021-03-19 12:32:50 -07:00
Tobias Koppers 174eb3cdf8 fix race condition in MultiCompiler queuing
fixes https://github.com/vercel/next.js/issues/23125
2021-03-17 11:04:41 +01:00
Tobias Koppers 1ebc7ca974 fix some incorrect properties accesses
fix some edge cases with MultiCompiler

fixes #12770
2021-02-24 20:12:32 +01:00
Tobias Koppers 51057e781c fix handler called with empty stats 2021-02-14 21:57:52 +01:00
Tobias Koppers 4d0f567144 cheaper options access 2021-02-14 21:43:30 +01:00
Tobias Koppers e7d9457963 refactor dependencies handling in MultiCompiler
add support for dependencies during watching
add parallelism option for MultiCompiler
2021-02-13 21:02:47 +01:00
Tobias Koppers a945a9b62c use typescript 4.2 2021-01-13 21:40:39 +01:00
Tobias Koppers 5a2fa99055 call invalid hook also when manually invalidating watching 2020-07-15 19:34:23 +02:00
Tobias Koppers 6c425546df Avoid using real watchers in MultiWatching test case
add watchFileSystem to MultiCompiler and typings
2020-07-08 11:17:00 +02: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
Emanuele Stoppa e607681277 fix: replaced some TODO with correct types and fixed some runtime issue 2019-11-28 22:48:01 +01:00
Tobias Koppers b73d35bbee Merge tag 'v4.39.0' into next
4.39.0
2019-08-05 13:12:09 +02:00
Tobias Koppers 98148b61c6 add infrastructureLog hook to MulitCompiler 2019-08-01 14:04:25 +02:00
Tobias Koppers def2947929 add getInfrastructureLogger to MultiCompiler 2019-08-01 13:51:21 +02:00
Tobias Koppers e9c0d068dd refactor filesystem interfaces
add Compiler.intermediateFileSystem
avoid using `path` and `fs` module when possible
move `join`, `mkdirp` and `dirname` into utils
join and dirname is optional in FileSystem interface
remove mkdirp from Filesystem interface
2019-06-11 17:32:58 +02:00
Florent Cailhol b12f24d20c Update hook types 2019-05-10 09:52:22 +02:00
Florent Cailhol e06b4853d6 Add compiler typings 2018-12-12 10:26:53 +01:00
Florent Cailhol 3d72d6144e Add CompilerStatus type 2018-12-10 11:41:15 +01:00
Florent Cailhol 9caaa664f7 Refactor webpack main 2018-12-09 15:32:03 +01:00
Tobias Koppers 7340fbb547 refactor Cache
add a new hookable Cache class
removed CachePlugin
add MemoryCachePlugin
refactor timestamps
create FileSystemInfo class
2018-09-27 13:20:19 +02:00
Tobias Koppers 2e82dbb63c
Merge pull request #7813 from webpack/refactor/freeze_hooks
Freeze hooks to prevent deopts
2018-07-30 22:47:13 +02:00
Tobias Koppers cf5f1d723c format existing code 2018-07-30 21:29:21 +02:00
Florent Cailhol fc4f30329d Freeze hooks to prevent deopts 2018-07-30 14:25:40 +02:00
Florent Cailhol c68d0d2171 Remove Tapable compatibility 2018-06-26 08:31:08 +02:00
Florent Cailhol 2a9452e51b Add brackets for multiline if/for statements 2018-05-29 15:45:44 +02:00
Florent Cailhol 3983803d30 Destructure 'require' to improve readability 2018-03-22 12:05:58 +01:00
Maksim ccc32d31bf Remove unnecessary handler wrapper 2018-03-13 13:16:39 +03:00
Maksim ea6e173551 Move concurrent compilation error to separate class 2018-03-13 13:10:42 +03:00
Maksim 9f60f50644 Prevent multi compiler from running twice at a time 2018-03-07 13:45:38 +03:00
Tobias Koppers f32bd41c52 fix linting 2018-02-25 02:15:37 +01:00