including-modules

This commit is contained in:
Kismet Hasanaj
2026-05-03 00:14:08 +02:00
parent ec83a0d879
commit 39a8a128be
20434 changed files with 3906546 additions and 3 deletions
@@ -0,0 +1,16 @@
import type { webpack } from 'next/dist/compiled/webpack/webpack';
/**
* { [client import path]: [exported names] }
*/
export type ClientComponentImports = Record<string, Set<string>>;
export type CssImports = Record<string, string[]>;
export type NextFlightClientEntryLoaderOptions = {
modules: string[] | string;
/** This is transmitted as a string to `getOptions` */
server: boolean | 'true' | 'false';
};
export type FlightClientEntryModuleItem = {
request: string;
ids: string[];
};
export default function transformSource(this: webpack.LoaderContext<NextFlightClientEntryLoaderOptions>): string;