UiExtensionCompilerOptions
UiExtensionCompilerOptions
Options to configure how the Admin UI should be compiled.
Signature
interface UiExtensionCompilerOptions {
outputPath: string;
extensions: Extension[];
devMode?: boolean;
baseHref?: string;
watchPort?: number;
command?: 'yarn' | 'npm';
additionalProcessArguments?: UiExtensionCompilerProcessArgument[];
}
Members
outputPath
string
extensions
Extension[]
devMode
boolean
false
true
in order to compile the Admin UI in development mode (using the Angular CLI
ng serve command). When in dev mode, any changes to
UI extension files will be watched and trigger a rebuild of the Admin UI with live
reloading.
baseHref
string
'/admin/'
'/admin/'
, the Admin UI app
will be configured to be served from http://<host>/admin/
.
watchPort
number
4200 | undefined
4200
.
command
'yarn' | 'npm'