Skip to content

@module-federation/rsbuild-plugin, use output.publicPath: 'auto' as default value #4249

@Sm1t

Description

@Sm1t

Clear and concise description of the problem

It would be very convenient if remote chunks were loaded from the same origin as the remote app's manifest if the remote app doesn't have tools.rspack.output.publicPath and getPublicPath specified in its rsbuild.config.json file.

Suggested solution

If the "tools.rspack.output.publicPath" parameter is not specified, use the value "auto" as the default

Alternative

Add a description about the need for tools.rspack.output.publicPath: 'auto' to the documentation

Additional context

No response

Validations

  • Read the Contributing Guidelines.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions