react-on-rails-rsc
Version:
React Server Components support for react_on_rails Ruby gem
22 lines • 653 B
TypeScript
import { Compiler } from "webpack";
type ClientReferenceSearchPath = {
directory: string;
recursive?: boolean;
include: RegExp;
exclude?: RegExp;
};
type ClientReferencePath = string | ClientReferenceSearchPath;
export type Options = {
isServer: boolean;
clientReferences?: ClientReferencePath | ReadonlyArray<ClientReferencePath>;
chunkName?: string;
clientManifestFilename?: string;
serverConsumerManifestFilename?: string;
};
export declare class RSCWebpackPlugin {
private plugin;
constructor(options: Options);
apply(compiler: Compiler): void;
}
export {};
//# sourceMappingURL=WebpackPlugin.d.ts.map