Package com.vaadin.flow.plugin.base
Interface PluginAdapterBuild
- All Superinterfaces:
PluginAdapterBase
Gives access to access to plugin-spectific implementations and
configurations.
-
Method Summary
Modifier and TypeMethodDescriptionDefines the project frontend directory from where resources should be copied from for use with webpack.booleanWhether to generate a bundle from the project frontend sources or not.booleanWhether to generate embeddable web components from WebComponentExporter inheritors.booleanWhether to use byte code scanner strategy to discover frontend components.booleanWhether to runnpm installafter updating dependencies.Methods inherited from interface com.vaadin.flow.plugin.base.PluginAdapterBase
applicationProperties, buildFolder, createLookup, eagerServerLoad, frontendDirectory, generatedFolder, generatedTsFolder, getClassFinder, getJarFiles, isDebugEnabled, isFrontendHotdeploy, isJarProject, javaResourceFolder, javaSourceFolder, logDebug, logError, logInfo, logWarn, logWarn, nodeAutoUpdate, nodeDownloadRoot, nodeVersion, npmFolder, openApiJsonFile, pnpmEnable, postinstallPackages, projectBaseDirectory, requireHomeNodeExec, servletResourceOutputDirectory, useGlobalPnpm, webpackOutputDirectory
-
Method Details
-
frontendResourcesDirectory
File frontendResourcesDirectory()Defines the project frontend directory from where resources should be copied from for use with webpack.- Returns:
File
-
generateBundle
boolean generateBundle()Whether to generate a bundle from the project frontend sources or not.- Returns:
- boolean
-
generateEmbeddableWebComponents
boolean generateEmbeddableWebComponents()Whether to generate embeddable web components from WebComponentExporter inheritors.- Returns:
- boolean
-
optimizeBundle
boolean optimizeBundle()Whether to use byte code scanner strategy to discover frontend components.- Returns:
- boolean
-
runNpmInstall
boolean runNpmInstall()Whether to runnpm installafter updating dependencies.- Returns:
- boolean
-