Class TaskInstallFrontendBuildPlugins

java.lang.Object
com.vaadin.flow.server.frontend.TaskInstallFrontendBuildPlugins
All Implemented Interfaces:
FallibleCommand

public class TaskInstallFrontendBuildPlugins extends Object implements FallibleCommand
Task that installs any Flow webpack plugins into node_modules/@vaadin for use with webpack compilation.

Plugins are copied to {build directory}/plugins and linked to @vaadin/{plugin name} in node_modules by using (p)npm install.

For internal use only. May be renamed or removed in a future release.

Since:
  • Constructor Details

    • TaskInstallFrontendBuildPlugins

      public TaskInstallFrontendBuildPlugins(Options options)
      Copy Flow webpack plugins into PLUGIN_TARGET under the build directory.
      Parameters:
      options - the task options
  • Method Details

    • execute

      public void execute()
      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 interface FallibleCommand