@pipepack/enhanced-resolver
Version:
yet, reimplement enhanced-resolve with the idea 'simple is best'.
8 lines (7 loc) • 351 B
TypeScript
/**
* @description - convert absolute reference path into relative path with another context
* @author - huang.jian <hjj491229492@hotmail.com>
*/
import { OperatorFunction } from 'rxjs';
import type { NormalRequest } from '../interface/resolver';
export declare function relativize(roots: string[]): OperatorFunction<NormalRequest, NormalRequest>;