/home/techb158/balavpn.abdallabala.com/node_modules/next/dist/build/babel/loader
Edit: /home/techb158/balavpn.abdallabala.com/node_modules/next/dist/build/babel/loader/get-config.d.ts (849B)
import type { NextBabelLoaderOptions, NextJsLoaderContext } from './types';
import { type SourceMap, type BabelLoaderTransformOptions } from './util';
/**
* An internal (non-exported) type used by babel.
*/
export type ResolvedBabelConfig = {
options: BabelLoaderTransformOptions;
passes: BabelPluginPasses;
externalDependencies: ReadonlyArray
;
};
export type BabelPlugin = unknown;
export type BabelPluginPassList = ReadonlyArray;
export type BabelPluginPasses = ReadonlyArray;
export default function getConfig(ctx: NextJsLoaderContext, { source, target, loaderOptions, filename, inputSourceMap, }: {
source: string;
loaderOptions: NextBabelLoaderOptions;
target: string;
filename: string;
inputSourceMap?: SourceMap | undefined;
}): Promise;