get-config.d.ts 397 B

12345678910
  1. import { NextBabelLoaderOptions, NextJsLoaderContext } from './types';
  2. declare type BabelConfig = any;
  3. export default function getConfig(this: NextJsLoaderContext, { source, target, loaderOptions, filename, inputSourceMap, }: {
  4. source: string;
  5. loaderOptions: NextBabelLoaderOptions;
  6. target: string;
  7. filename: string;
  8. inputSourceMap?: object | null;
  9. }): BabelConfig;
  10. export {};