Files
Shifted/node_modules/@storybook/nextjs/dist/swc/next-swc-loader-patch.d.ts
2026-02-10 01:14:19 +00:00

22 lines
621 B
TypeScript

import { NextConfig } from 'next';
interface SWCLoaderOptions {
rootDir: string;
isServer: boolean;
pagesDir?: string;
appDir?: string;
hasReactRefresh: boolean;
optimizeServerReact?: boolean;
nextConfig: NextConfig;
jsConfig: any;
supportedBrowsers: string[] | undefined;
swcCacheDir: string;
serverComponents?: boolean;
isReactServerLayer?: boolean;
}
declare function pitch(this: any): void;
declare function swcLoader(this: any, inputSource: string, inputSourceMap: any): void;
declare const raw = true;
export { SWCLoaderOptions, swcLoader as default, pitch, raw };