Interface PluginAdapterBuild

All Superinterfaces:
PluginAdapterBase

public interface PluginAdapterBuild extends PluginAdapterBase
Gives access to access to plugin-spectific implementations and configurations.
  • 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 run npm install after updating dependencies.
      Returns:
      boolean