UNPKG

@nx/rspack

Version:

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

13 lines (12 loc) 618 B
import { NxAppRspackPluginOptions } from '../plugins/utils/models'; import { NxComposableRspackPlugin } from './config'; export type WithNxOptions = Partial<NxAppRspackPluginOptions>; /** * @deprecated Will be removed in Nx v24. Use `NxAppRspackPlugin` from * `@nx/rspack/app-plugin` in a standard rspack config and run * `nx g @nx/rspack:convert-to-inferred`. See * https://nx.dev/docs/guides/tasks--caching/convert-to-inferred for details. * @param {WithNxOptions} pluginOptions * @returns {NxComposableRspackPlugin} */ export declare function withNx(pluginOptions?: WithNxOptions): NxComposableRspackPlugin;