UNPKG

@nx/rspack

Version:

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

9 lines (8 loc) 444 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 { svgr?: boolean | SvgrOptions; } export declare function withReact(opts?: WithReactOptions): (config: Configuration, { options, context }: NxRspackExecutionContext) => Configuration;