@Mojo(name="clean-frontend",
defaultPhase=PRE_CLEAN)
public class CleanFrontendMojo
extends FlowModeAbstractMojo
Deletes Vaadin dependencies from package.json, the generated frontend folder and the npm/pnpm-related files and folders:
| Modifier and Type | Field and Description |
|---|---|
static String |
DEPENDENCIES |
static String |
DEV_DEPENDENCIES |
static String |
VAADIN |
compatibility, compatibilityMode, frontendDirectory, nodeDownloadRoot, nodeVersion, pnpmEnable, productionMode, requireHomeNodeExec, webpackOutputDirectory| Constructor and Description |
|---|
CleanFrontendMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
public static final String VAADIN
public static final String DEPENDENCIES
public static final String DEV_DEPENDENCIES
public void execute()
throws org.apache.maven.plugin.MojoFailureException
execute in interface org.apache.maven.plugin.Mojoexecute in class FlowModeAbstractMojoorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2000–2022 Vaadin Ltd. All rights reserved.