Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BuildPluginCommand<Context>

Type parameters

  • Context: BaseContext

Hierarchy

  • Command
    • BuildPluginCommand

Properties

Methods

Properties

noMinify

noMinify: boolean = Option.Boolean(`--no-minify`, false, {description: `Build a plugin for development, without optimizations (minifying, mangling, treeshaking)`,})

sourceMap

sourceMap: boolean = Option.Boolean(`--source-map`, false, {description: `Includes a source map in the bundle`,})

Static paths

paths: string[][] = [[`build`, `plugin`],]

Static usage

usage: Usage = Command.Usage({description: `build a local plugin`,details: `This command builds a local plugin.`,examples: [[`Build a local plugin`,`$0 build plugin`,], [`Build a local development plugin`,`$0 build plugin --no-minify`,]],})

Methods

execute

  • execute(): Promise<0 | 1>

Generated using TypeDoc