the-forest/client/node_modules/workbox-webpack-plugin/build/lib/relative-to-output-path.d.ts

12 lines
421 B
TypeScript
Raw Normal View History

2024-09-17 20:35:18 -04:00
import type { Compilation } from 'webpack';
/**
* @param {Object} compilation The webpack compilation.
* @param {string} swDest The original swDest value.
*
* @return {string} If swDest was not absolute, the returns swDest as-is.
* Otherwise, returns swDest relative to the compilation's output path.
*
* @private
*/
export declare function relativeToOutputPath(compilation: Compilation, swDest: string): string;