resolve.conditionNames

  • Type: string[]
  • Default: Same as Rspack's resolve.conditionNames

Specifies the condition names used to match entry points in the exports of a package.

Info

The usage of this configuration item is exactly the same as that of Rsbuild. For detailed information, please refer to Rsbuild - resolve.extensions.

Warning

Do not enable this configuration option for SSR applications, as it will cause SSR rendering to fail.