core icon indicating copy to clipboard operation
core copied to clipboard

Missing `dist` in the release of `@module-federation/bridge-vue3`

Open LoTwT opened this issue 1 year ago • 2 comments

Describe the bug

When trying to use @module-federation/bridge-vue3, I find that there is no dist in the release.

image

Reproduction

https://www.npmjs.com/package/@module-federation/bridge-vue3?activeTab=code

Used Package Manager

pnpm

System Info

System:
    OS: macOS 14.5
    CPU: (10) arm64 Apple M1 Pro
    Memory: 383.53 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.15.1 - ~/.local/state/fnm_multishells/88436_1721799561898/bin/node
    npm: 10.7.0 - ~/.local/state/fnm_multishells/88436_1721799561898/bin/npm
    pnpm: 9.5.0 - ~/.local/state/fnm_multishells/88436_1721799561898/bin/pnpm
    bun: 1.1.20 - ~/.bun/bin/bun
  Browsers:
    Chrome: 126.0.6478.183
    Safari: 17.5

Validations

LoTwT avatar Jul 24 '24 07:07 LoTwT

@LoTwT please try this version: 0.0.0-next-20240723095610, I have fixed this and it has not been published the official version yet. And also the usage of the doc has some issues, you should use it like this:

const container = bridge.createRemoteComponent({ loader: () => loadRemote('container/export-app'), });

danpeen avatar Jul 24 '24 07:07 danpeen

thanks @danpeen

ScriptedAlchemy avatar Jul 26 '24 13:07 ScriptedAlchemy

Stale issue message

github-actions[bot] avatar Sep 24 '24 15:09 github-actions[bot]