com.vaadin.flow.server.frontend.
Class TaskNotifyWebpackConfExistenceWhileUsingVite
- java.lang.Object
-
- com.vaadin.flow.server.frontend.TaskNotifyWebpackConfExistenceWhileUsingVite
-
All Implemented Interfaces:
public class TaskNotifyWebpackConfExistenceWhileUsingVite extends Object implements FallibleCommand, Serializable
Notifies the user about the existence of webpack.config.js while the project is running Vite as the frontend build tool. This can be helpful especially when migrating to 23.2 and later since it prevent any confusion or any accidental misconfiguration in webpack related config files while using Vite.
This task is only added to the list of executables for the application startup if Vite is the active frontend build tool.
See Also:
-
-
Method Detail
-
execute
public void execute() throws ExecutionFailedException
Description copied from interface:
FallibleCommand
Runs the given command.
If execution fails then the command may throw an exception which may give a message and a cause of the failure.
Specified by:
execute
in interfaceFallibleCommand
Throws:
ExecutionFailedException
- if there is an execution error
-
-