next
Version:
The React Framework
11 lines (10 loc) • 403 B
TypeScript
import type { NextBabelLoaderOptions, NextJsLoaderContext } from './types';
type BabelConfig = any;
export default function getConfig(this: NextJsLoaderContext, { source, target, loaderOptions, filename, inputSourceMap, }: {
source: string;
loaderOptions: NextBabelLoaderOptions;
target: string;
filename: string;
inputSourceMap?: object | null;
}): Promise<BabelConfig>;
export {};