Helpers

helpers

setBranding

A helper function to simplify the process of setting custom branding images.

Example

compileUiExtensions({
  outputPath: path.join(__dirname, '../admin-ui'),
  extensions: [
    setBranding({
      smallLogoPath: path.join(__dirname, 'images/my-logo-sm.png'),
      largeLogoPath: path.join(__dirname, 'images/my-logo-lg.png'),
      faviconPath: path.join(__dirname, 'images/my-favicon.ico'),
    }),
  ],
});

Signature

function setBranding(options: BrandingOptions): StaticAssetExtension

Parameters

options

parameter
type:
BrandingOptions