public class TaskInstallWebpackPlugins extends Object implements FallibleCommand
This should preferably be executed after npm installation to not make it skip
or have the plugins deleted by TaskRunNpmInstall
.
For internal use only. May be renamed or removed in a future release.
Constructor and Description |
---|
TaskInstallWebpackPlugins(File nodeModulesFolder)
Copy Flow webpack plugins into the given nodeModulesFolder.
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
Runs the given command.
|
protected List<String> |
getPlugins()
Get names for plugins to install into node_modules.
|
public TaskInstallWebpackPlugins(File nodeModulesFolder)
nodeModulesFolder
- node_modules folder to copy files topublic void execute()
FallibleCommand
If execution fails then the command may throw an exception which may give a message and a cause of the failure.
execute
in interface FallibleCommand
Copyright © 2000–2022 Vaadin Ltd. All rights reserved.