@serwist/webpack-plugin
Version:
A plugin for your webpack build process, helping you generate a manifest of local files that should be precached.
12 lines • 453 B
TypeScript
import type { Compilation } from "webpack";
/**
* @param compilation The webpack compilation.
* @param originalPath The original path value.
*
* @returns If path was not absolute, the returns path as-is.
* Otherwise, returns path relative to the compilation's output path.
*
* @private
*/
export declare const relativeToOutputPath: (compilation: Compilation, originalPath: string) => string;
//# sourceMappingURL=relative-to-output-path.d.ts.map