Warning about output directory

I’m using 24.8.6 and get this warning:

[WARNING] Both ‘frontendOutputDirectory’ and ‘webpackOutputDirectory’ are set. ‘webpackOutputDirectory’ property will be removed in future releases and will be ignored. Please use only ‘frontendOutputDirectory’.
Both ‘frontendOutputDirectory’ and ‘webpackOutputDirectory’ are set. ‘webpackOutputDirectory’ property will be removed in future releases and will be ignored. Please use only ‘frontendOutputDirectory’.

But I couldn’t find a configuration for that. Is this just an internal warning, and if so, why is it logged?

The issue is that webpackOutputDirectory names webpack explicitly even if we do not actually use webpack see: PluginAdapterBase: deprecate and replace and webpackOutputDirectory method · Issue #21635 · vaadin/flow · GitHub

The issue is most likely that webpackOutputDirectory is defined and frontendOutputDirectory gets a default value meaning both have a value set.

There is actually a missing fix that is probably the reason for getting the warning: fix: remove default value for deprecated property by mcollovati · Pull Request #21789 · vaadin/flow · GitHub

I just put that to be cherry picked to 24.8 and 24.9

Thanks for the information!