securityos/node_modules/next/dist/build/webpack/loaders/next-swc-loader.d.ts

21 lines
682 B
TypeScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
import type { NextConfig } from '../../../../types';
import { type BundleType } from '../../swc/options';
export interface SWCLoaderOptions {
rootDir: string;
isServer: boolean;
pagesDir?: string;
appDir?: string;
hasReactRefresh: boolean;
optimizeServerReact?: boolean;
nextConfig: NextConfig;
jsConfig: any;
supportedBrowsers: string[] | undefined;
swcCacheDir: string;
bundleTarget: BundleType;
hasServerComponents?: boolean;
isServerLayer: boolean;
}
export declare function pitch(this: any): void;
export default function swcLoader(this: any, inputSource: string, inputSourceMap: any): void;
export declare const raw = true;