com.vaadin.flow.server.frontend.

Class TaskCleanFrontendFiles

java.lang.Object
com.vaadin.flow.server.frontend.TaskCleanFrontendFiles

All Implemented Interfaces:

FallibleCommand

public class TaskCleanFrontendFiles extends Object implements FallibleCommand

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 Details

  • Constructor Details

    • TaskCleanFrontendFiles

      public TaskCleanFrontendFiles(File projectRoot, File frontendDirectory, ClassFinder classFinder)

      Scans the jar files given defined by resourcesToScan.

      Parameters:

      projectRoot - project root folder

      frontendDirectory - frontend directory

  • Method Details