@Mojo(name="package-for-production",
requiresDependencyResolution=COMPILE_PLUS_RUNTIME,
defaultPhase=PROCESS_CLASSES)
public class PackageForProductionMojo
extends FlowModeAbstractMojo
transpileEs6SourceDirectory for production
mode: minifies, transpiles and bundles them.ciBuild, compatibility, compatibilityMode, frontendDirectory, nodeDownloadRoot, pnpmEnable, productionMode, requireHomeNodeExec, webpackOutputDirectory| Constructor and Description |
|---|
PackageForProductionMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
execute in interface org.apache.maven.plugin.Mojoexecute in class FlowModeAbstractMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2000–2023 Vaadin Ltd. All rights reserved.