Interface PluginAdapterBuild

  • All Superinterfaces:
    PluginAdapterBase

    public interface PluginAdapterBuild
    extends PluginAdapterBase
    Gives access to access to plugin-spectific implementations and configurations.
    • Method Detail

      • 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
      • ciBuild

        boolean ciBuild()
        Setting this to true will run npm ci instead of npm install when using npm. If using pnpm, the install will be run with --frozen-lockfile parameter. This makes sure that the package lock file will not be overwritten.
        Returns:
        true if ci build should be enabled