UNPKG

time-analytics-webpack-plugin

Version:
11 lines (10 loc) 402 B
import type { RuleSetRule } from 'webpack'; /** * get the folder name after the last "node_moduels" * * If the folder name is starts with '@', then try to combine next path as the whole name * * otherwise, the whole path */ export declare function getLoaderName(path: string): string; export declare function normalizeRules(rules: RuleSetRule[] | undefined): RuleSetRule[] | undefined;