Micro Frontends Conference 2024 - Stefan Bley & Lucas Braeschke: Dependency Management in MFs

Поделиться
HTML-код
  • Опубликовано: 12 ноя 2024

Комментарии • 4

  • @ronron860
    @ronron860 3 месяца назад

    Module Federation isn't bound to webpack anymore

    • @FlorianRappl
      @FlorianRappl 3 месяца назад +1

      While this is true to some extend, the alternative options (Module Federation in Vite or esbuild) are really weak at the moment. For instance, for Vite you have a couple of plugins - one which is really new and totally buggy, one which is actually made for Native Federation and returns an incompatible result, and one which only returns esm + Module Federation v1. The latter you cannot use as remote from Webpack or rspack - you can only use as a host (or make Vite - Vite doable). Let's not talk about the esbuild one (this one is even more alpha / buggy - not at all usable for production).
      So overall I don't think the statement is wrong. If you do Module Federation you most likely do rspack or Webpack (which are both quite the same - just a different engine).

    • @ronron860
      @ronron860 3 месяца назад +1

      ​@@FlorianRappl That makes sense. I don't have much experience outside of that ecosystem (as you correctly guessed 😅)

    • @siwatkaolueng6871
      @siwatkaolueng6871 3 месяца назад

      Vite(rolldown) will offically support Module Federation 2.0 next year.