Minor Changes
-
feat: run
webpack-dev-server@6as a compiler plugin. The CLI drives watch compilation, prints build stats and closes the compiler on shutdown. Older dev servers continue to manage their own compilation. (by @bjohansebas in #4847)In multi-compiler mode, every dev server serves all compilers by default. Use the new
--dev-server-per-compileroption ofwebpack serveto serve each compiler only by the dev server from its own configuration. -
feat: add shell completions for zsh, bash, fish and powershell through the
completecommand (by @alexander-akait in #4840)
Patch Changes
-
fix: keep multi-compiler options such as
parallelismandpluginsset on a configuration array when--config-nameorextendsrebuild it (by @alexander-akait in #4871) -
perf: share the compile cache with child processes and worker threads, such as minimizer workers, so they start warm too (by @alexander-akait in #4872)
-
fix: assign distinct ports to dev servers of configurations that share the same
devServerobject. (by @alexander-akait in #4886)