Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Webpack libraries now work with js aggregation.
Webpack libraries are now automatically removed from preprocessing and marked as minified.
Add getAllWebpackLibraries method to hte bundler.
Made travis work.
Changed the tested core versions to 8.7 and 8.8.
Improved the way bundle files are attached in webpack:serve - now single source file can lead to attaching multiple output files.
Added --lagoon option to drush webpack:serve.
Added the 'drush webpack:build-single' command that builds a single library in a way that doesn't require webpack runtime. Refactored Bundler, LibrariesInspector, and WebpackConfigBuilder services. Added test coverage for the new functions.
Replaced the obsolete webpack-serve with no-longer-obsolete webpack-dev-server (one love - JS :*).
Made drush webpack:serve work inside docker in single-container mode and in multi-container mode (when drush PHP is separate from webserver's PHP).
Implemented WebpackTestBase for kernel tests and BundlerTest extending it.
Changed the default serve port to 1234.
Added and parameters to the serve function.
Made serve use npm's runScript instead of relying on a home-grown command execution.
Changed the way webpack_test_libs installs its config.
Implemented WebpackTestLibsServiceProvider to work around #2571475.
Updated the error reporting in drush commands.
Moved getEntryPoints from webpackConfigBuilder to librariesInspector.
Made getAllLibraries protected.
Documentation fixes (it's drush webpack:serve, not yarn :)).
Refactoring. The Libraries trait has been split into 3 separate services. Bundling has been decoupled from Drush, so maybe we can get rid of this dependency at some point.
Added the ability to configure the port of webpack:serve.
Added a unified way of providing js code that needs to be evaluated in config - `backticks`.
Added #lines_before special key that can be populated with js code that needs to be run before module.exports.
Added a way to override the output directory.
Added documentation to the WebpackDrushCommands.
Changed exceptions to log errors in the DecoratedAssetResolver.