@Mojo(name="build-frontend",
requiresDependencyResolution=COMPILE_PLUS_RUNTIME,
defaultPhase=PREPARE_PACKAGE)
public class BuildFrontendMojo
extends FlowModeAbstractMojo
Constants.PACKAGE_JSON file with the NpmPackage
annotations defined in the classpath,npm installFrontendUtils.IMPORTS_NAME file imports with the
JsModule Theme and JavaScript annotations defined in
the classpath,FrontendUtils.WEBPACK_CONFIG file.| Modifier and Type | Field and Description |
|---|---|
protected File |
frontendResourcesDirectory
Defines the project frontend directory from where resources should be
copied from for use with webpack.
|
applicationProperties, eagerServerLoad, frontendDirectory, generatedFolder, generatedTsFolder, javaSourceFolder, nodeDownloadRoot, nodeVersion, npmFolder, openApiJsonFile, pnpmEnable, productionMode, requireHomeNodeExec, resourceOutputDirectory, webpackOutputDirectory| Constructor and Description |
|---|
BuildFrontendMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
createLookup, useDeprecatedV14Bootstrapping@Parameter(defaultValue="${project.basedir}/src/main/resources/META-INF/resources/frontend")
protected File frontendResourcesDirectory
Copyright © 2000–2021 Vaadin Ltd. All rights reserved.