Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.08 KB

File metadata and controls

44 lines (34 loc) · 1.08 KB

API Report File for "@microsoft/set-webpack-public-path-plugin"

Do not edit this file. It is a report generated by API Extractor.

import * as Webpack from 'webpack';

// @public
export function getGlobalRegisterCode(debug?: boolean): string;

// @public
export interface ISetWebpackPublicPathOptions {
    getPostProcessScript?: (varName: string) => string;
    preferLastFoundScript?: boolean;
    publicPath?: string;
    regexVariable?: string;
    skipDetection?: boolean;
    systemJs?: boolean;
    urlPrefix?: string;
}

// @public
export interface ISetWebpackPublicPathPluginOptions extends ISetWebpackPublicPathOptions {
    scriptName?: {
        name: string;
        isTokenized: boolean;
    };
}

// @public (undocumented)
export const registryVariableName: string;

// @public
export class SetPublicPathPlugin implements Webpack.Plugin {
    constructor(options: ISetWebpackPublicPathPluginOptions);
    // (undocumented)
    apply(compiler: Webpack.Compiler): void;
    // (undocumented)
    options: ISetWebpackPublicPathPluginOptions;
}