com.vaadin.flow.server.frontend.
Class TaskCleanFrontendFiles
All Implemented Interfaces:
Clean any frontend files generated for creation on a new development or production bundle.
 For a project containing package.json or is using Hilla,
 node_modules will be retained.
 
For internal use only. May be renamed or removed in a future release.
Since:
2.0
- 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionTaskCleanFrontendFiles(File projectRoot) Scans the jar files given defined by
resourcesToScan. - 
Method Summary
 
- 
Field Details
- 
NODE_MODULES
See Also:
 
 - 
 - 
Constructor Details
- 
TaskCleanFrontendFiles
Scans the jar files given defined by
resourcesToScan.Parameters:
projectRoot- project root folder 
 - 
 - 
Method Details
- 
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 interfaceFallibleCommandThrows:
ExecutionFailedException- if there is an execution error 
 -