vite-plugin-federation icon indicating copy to clipboard operation
vite-plugin-federation copied to clipboard

Finally!! a working demo using webpack as a remote and vite as a host

Open mostafa-raafat opened this issue 1 year ago • 4 comments

feat: add webpack-vite demo

Description

Additional context


What is the purpose of this pull request?

  • [ ] Bug fix
  • [ ] New Feature
  • [ ] Documentation update
  • [ ] Other

Before submitting the PR, please make sure you do the following

  • [ ] Read the Code of Conduct and follow the Commit Convention guidelines.
  • [ ] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
  • [ ] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
  • [ ] Ideally, include relevant tests that fail without this PR but pass with it.

mostafa-raafat avatar Aug 14 '23 22:08 mostafa-raafat

Hi @ruleeeer Please check again.

mostafa-raafat avatar Aug 20 '23 09:08 mostafa-raafat

Does this demo have issues with sharing dependencies? @mostafa-raafat

AsuraKev avatar Aug 24 '23 22:08 AsuraKev

The test cases all seem to have failed, because the installation dependency failed. image

Is the pnpm.lock file not updated or is not using pnpm as the package manager?

ruleeeer avatar Aug 28 '23 13:08 ruleeeer

@mostafa-raafat Do you think this ll work vice versa? I am thinking of using Next js (Webpack based) as host and vite for remote apps.

AsuraKev avatar Sep 08 '23 03:09 AsuraKev