First concept

This commit is contained in:
will
2026-04-02 19:13:46 +01:00
commit 1da5da43e1
9785 changed files with 2077949 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
import type { NextConfig } from '../../../../types';
import type { WebpackLayerName } from '../../../lib/constants';
export 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;
bundleLayer?: WebpackLayerName;
esm?: boolean;
transpilePackages?: string[];
}
export declare function pitch(this: any): void;
export default function swcLoader(this: any, inputSource: string, inputSourceMap: any): void;
export declare const raw = true;