Seeing this error in a compilation, but there are no hints on what went wrong:
HookWebpackError: data did not match any variant of untagged enum MinifyTarget
at makeWebpackError (/foo/node_modules/webpack/lib/HookWebpackError.js:48:9)
at /foo/node_modules/webpack/lib/Compilation.js:3175:12
at eval (eval at create (/foo/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:88:1)
-- inner error --
Error: data did not match any variant of untagged enum MinifyTarget
caused by plugins in Compilation.hooks.processAssets
Error: data did not match any variant of untagged enum MinifyTarget
I don't have processAssets hook or MinifyTarget so I guess it's internal.
Seeing this error in a compilation, but there are no hints on what went wrong:
I don't have
processAssets
hook orMinifyTarget
so I guess it's internal.Webpack
5.91.0