Skip to content
This repository was archived by the owner on Oct 7, 2022. It is now read-only.
This repository was archived by the owner on Oct 7, 2022. It is now read-only.

Failed to fetch types when types are published to a nested folder #9

@joeheyming

Description

@joeheyming

In my project, I am publishing my remoteEntry.js and types to a subfolder:
e.g.
https://mysite/common/remoteEntry.js
and https://mysite/common/@mf-typescript/

But the code here https://github.com/module-federation/typescript/blob/main/src/index.js#L53
assumes we only want the origin of the remote.
But we kind of need the origin and any base path. Is it possible to introduce a config for this plugin to add a basepath to all type fetching?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions