You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
421 B
12 lines
421 B
2 years ago
|
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;
|