com.vaadin.flow.server.frontend.
Class TaskInstallWebpackPlugins
- java.lang.Object
 - 
- com.vaadin.flow.server.frontend.TaskInstallWebpackPlugins
 
 
- 
All Implemented Interfaces:
public class TaskInstallWebpackPlugins extends Object implements FallibleCommandTask that installs any Flow webpack plugins into node_modules/@vaadin for use with webpack compilation.
Plugins are copied to
{build directory}/pluginsand 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 Summary
Constructors Constructor Description TaskInstallWebpackPlugins​(File buildDirectory)Copy Flow webpack plugins into
PLUGIN_TARGETunder the build directory. 
 - 
 
- 
- 
Constructor Detail
- 
TaskInstallWebpackPlugins
public TaskInstallWebpackPlugins​(File buildDirectory)Copy Flow webpack plugins into
PLUGIN_TARGETunder the build directory.Parameters:
buildDirectory- project build folder 
 - 
 
- 
Method Detail
- 
execute
public void execute()Description copied from interface:
FallibleCommandRuns 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:
executein interfaceFallibleCommand 
 - 
 
 -