UNPKG

@nx/rspack

Version:

The Nx Plugin for Rspack contains executors and generators that support building applications using Rspack.

13 lines 614 B
import { Configuration } from '@rspack/core'; import { NxRspackExecutionContext } from './config'; import { WithWebOptions } from './with-web'; import { SvgrOptions } from '../plugins/utils/models'; export interface WithReactOptions extends WithWebOptions { /** * @deprecated SVGR support is deprecated and will be removed in Nx 23. * TODO(v23): Remove SVGR support */ svgr?: boolean | SvgrOptions; } export declare function withReact(opts?: WithReactOptions): (config: Configuration, { options, context }: NxRspackExecutionContext) => Configuration; //# sourceMappingURL=with-react.d.ts.map