diff --git a/packages/rspack/src/plugins/utils/models.ts b/packages/rspack/src/plugins/utils/models.ts index ca086f9ab51c69..55daa784fe28f2 100644 --- a/packages/rspack/src/plugins/utils/models.ts +++ b/packages/rspack/src/plugins/utils/models.ts @@ -77,6 +77,7 @@ export interface NxAppRspackPluginOptions { * The compiler to use. Default is `babel` and requires a `.babelrc` file. */ compiler?: 'babel' | 'swc' | 'tsc'; + // TODO: Check if this is supportable in rspack. It was only being used in the WriteIndexHtmlPlugin for Webpack. The same isn't supported in HtmlRspackPlugin. /** * Set `crossorigin` attribute on the `script` and `link` tags. */ diff --git a/packages/rspack/src/utils/config.ts b/packages/rspack/src/utils/config.ts index d2dc7b094f505f..a19dba0a1cbc33 100644 --- a/packages/rspack/src/utils/config.ts +++ b/packages/rspack/src/utils/config.ts @@ -96,10 +96,7 @@ function ensureNxRspackExecutionContext(ctx: NxRspackExecutionContext): void { sourceRoot: projectNode.data.sourceRoot ?? projectNode.data.root, // These aren't actually needed since NxRspackPlugin and withNx both support them being undefined. assets: undefined, - outputPath: undefined, - tsConfig: undefined, outputFileName: undefined, - main: undefined, rspackConfig: undefined, }; ctx.context ??= {