Interface ITransformPlugin

interface ITransformPlugin {
    config?: IAssets & {
        preloadScripts?: JSItem[];
        versions?: Record<string, string>;
    };
    name: string;
    transform: ((transformHooks) => IAssets);
}

Properties

config?: IAssets & {
    preloadScripts?: JSItem[];
    versions?: Record<string, string>;
}

Type declaration

  • Optional preloadScripts?: JSItem[]
  • Optional versions?: Record<string, string>
name: string
transform: ((transformHooks) => IAssets)

Type declaration

Returns

The assets that should be loaded for rendering the output.

Generated using TypeDoc