Minimal repro for webpack/webpack#20860 (comment).
-
package-5.106uses webpack5.106.0+license-webpack-plugin@^2.3.14and is expected to build successfully. -
package-5.107uses webpack5.107.0+license-webpack-plugin@^2.3.14and is expected to fail with:HookWebpackError: Cannot read properties of undefined (reading 'trim')
CI builds both packages; the package-5.107 build reproduces the failure.