11 lines
394 B
TypeScript
11 lines
394 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;
|
|
}): BabelConfig;
|
|
export {};
|