Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Meta] Webpack 5 Module Federation - Errors #126

Open
ckken opened this issue Jun 24, 2020 · 38 comments
Open

[Meta] Webpack 5 Module Federation - Errors #126

ckken opened this issue Jun 24, 2020 · 38 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@ckken
Copy link

ckken commented Jun 24, 2020

(node:50522) UnhandledPromiseRejectionWarning: Error: Cannot find module 'webpack/lib/ParserHelpers'
Require stack:

  • /Users/ken/Desktop/develop/MicroFE/emp-workspace/node_modules/@pmmmwh/react-refresh-webpack-plugin/src/index.js
  • /Users/ken/Desktop/develop/MicroFE/emp-workspace/packages/emp-cli/webpack/config/plugin.js
  • /Users/ken/Desktop/develop/MicroFE/emp-workspace/packages/emp-cli/webpack/config/common.js
  • /Users/ken/Desktop/develop/MicroFE/emp-workspace/packages/emp-cli/helpers/project.js
  • /Users/ken/Desktop/develop/MicroFE/emp-workspace/packages/emp-cli/scripts/dev.js
  • /Users/ken/Desktop/develop/MicroFE/emp-workspace/packages/emp-cli/bin/emp.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:794:15)
    at Function.Module._load (internal/modules/cjs/loader.js:687:27)
    at Module.require (internal/modules/cjs/loader.js:849:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object. (/Users/ken/Desktop/develop/MicroFE/emp-workspace/node_modules/@pmmmwh/react-refresh-webpack-plugin/src/index.js:6:23)
    at Module._compile (internal/modules/cjs/loader.js:956:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)
    at Module.load (internal/modules/cjs/loader.js:812:32)
    at Function.Module._load (internal/modules/cjs/loader.js:724:14)
    at Module.require (internal/modules/cjs/loader.js:849:19)
    (node:50522) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
    (node:50522) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
@pmmmwh
Copy link
Owner

pmmmwh commented Jun 24, 2020

Hi, can you please state the version of:

  1. the plugin;
  2. Webpack;

Providing me just the error stack trace is not helpful to say the least, because there is not much stuff for me to trace.

@ckken
Copy link
Author

ckken commented Jun 28, 2020

webpack: 5 beta 18
plugin version:
"@pmmmwh/react-refresh-webpack-plugin": "^0.4.0-beta.5",
"react-refresh": "^0.8.3",

@ckken
Copy link
Author

ckken commented Jun 28, 2020

image
update =>"@pmmmwh/react-refresh-webpack-plugin": "^0.4.0-beta.6"
use module federation

@pmmmwh
Copy link
Owner

pmmmwh commented Jun 28, 2020

Did you include the webpack.HotModuleReplacementPlugin in your Webpack configuration? If not, this plugin won't work.

With webpack-dev-server you can use either of the hot/hotOnly options, and with other development means you'll have to include it manually.

I've tested with module federation (with Webpack master, cause there' some bugs with module cache in beta.18) and everything works fine.

@ckken
Copy link
Author

ckken commented Jun 29, 2020

Did you include the webpack.HotModuleReplacementPlugin in your Webpack configuration? If not, this plugin won't work.

With webpack-dev-server you can use either of the hot/hotOnly options, and with other development means you'll have to include it manually.

I've tested with module federation (with Webpack master, cause there' some bugs with module cache in beta.18) and everything works fine.

nice

@ckken
Copy link
Author

ckken commented Jun 29, 2020

image

@ckken
Copy link
Author

ckken commented Jun 29, 2020

no work for me!

devServer
module.exports = {
  devServer: {
    host: 'localhost',
    port: 8000,
    disableHostCheck: true,
    historyApiFallback: true,
    hot: true,
    stats: {
      colors: true,
    },
  },
}
// module
        scripts: {
          test: /\.(js|jsx|ts|tsx)$/,
          exclude: /node_modules/,
          use: {
            babel: {
              loader: 'babel-loader',
              options: {
                presets: ['@babel/preset-env', '@babel/preset-typescript', '@babel/preset-react'],
                plugins: [
                  //
                  ['import', {libraryName: 'antd', style: true}],
                  isDev && require.resolve('react-refresh/babel'),
                  //
                ],
              },
            },
          },
        },
// plugin 
  if (isDev) {
    conf.plugin.reacthotloader = {
      plugin: ReactRefreshWebpackPlugin,
      args: [{}],
    }
  }


@ckken
Copy link
Author

ckken commented Jun 29, 2020

image
when remove exposes it work!

@ckken
Copy link
Author

ckken commented Jun 29, 2020

image

@pmmmwh
Copy link
Owner

pmmmwh commented Jun 29, 2020

image
when remove exposes it work!

The issues you're facing is due to a bug in [email protected]. if you use webpack master, these issues goes away. If they don't, or if you have any further questions, it is most likely not due to this plugin - we plug into Webpack's HMR runtime and if the HMR runtime errors out for module federation we can do nothing.

Side note: I would suggest adding react-refresh/runtime to shared singleton - you can also pin the version.

@ckken ckken closed this as completed Jun 30, 2020
@ckken
Copy link
Author

ckken commented Jun 30, 2020

image
no work also!

@ScriptedAlchemy
Copy link

go to beta 20

@ckken
Copy link
Author

ckken commented Jun 30, 2020

go to beta 20

There are the same problems

@pmmmwh
Copy link
Owner

pmmmwh commented Jun 30, 2020

@ScriptedAlchemy it seems that on full refresh HMR will throw (but it actually does not affect modules updating ...)

I've tested with basic-host-remote with the following changes:

package.json for both app1 and app2:

     "@babel/preset-react": "7.10.1",
+    "@pmmmwh/react-refresh-webpack-plugin": "^0.4.0-beta.6",
     "babel-loader": "8.1.0",
     "bundle-loader": "0.5.6",
     "html-webpack-plugin": "git://github.com/ScriptedAlchemy/html-webpack-plugin#master",
+    "react-refresh": "^0.8.3",
     "serve": "11.3.2",

webpack.config.json for both app1 and app2:

+ const ReactRefreshPlugin = require("@pmmmwh/react-refresh-webpack-plugin");
  const HtmlWebpackPlugin = require("html-webpack-plugin");
  const { ModuleFederationPlugin } = require("webpack").container;
  const path = require("path");

  module.exports = {
    entry: "./src/index",
    mode: "development",
    devServer: {
      contentBase: path.join(__dirname, "dist"),
+     hot: true,
      port: 3001,
    },
    // ...
    module: {
+     // Quite a bit of change in this block
      rules: [
        {
          test: /bootstrap\.js$/,
          use: [
            {
              loader: "bundle-loader",
              options: {
                lazy: true,
              },
            },
            {
              loader: 'babel-loader',
              options: {
                presets: ["@babel/preset-react"],
              }
            },
          ],
        },
        {
          test: /\.jsx?$/,
          loader: "babel-loader",
          exclude: [/node_modules/, /bootstrap\.js$/],
          options: {
+           plugins: ['react-refresh/babel'],
            presets: ["@babel/preset-react"],
          },
        },
      ],
    },
    plugins: [
      new ModuleFederationPlugin({
        // app specific
        shared: ["react", "react-dom"],
      }),
      new HtmlWebpackPlugin({
        template: "./public/index.html",
      }),
+     new ReactRefreshPlugin({
+       exclude: [/node_modules/, /bootstrap\.js$/],
+     }),
    ],
  };

@ckken
Copy link
Author

ckken commented Jun 30, 2020

webpack config for development

{
  mode: 'development',
  devtool: 'inline-source-map',
  output: {
    path: '/Users/ken/Desktop/develop/MicroFE/emp-workspace/projects/antd-base/dist',
    filename: 'js/[name].[contenthash:8].js',
    publicPath: 'http://localhost:8003/'
  },
  resolve: {
    alias: {
      src: '/Users/ken/Desktop/develop/MicroFE/emp-workspace/projects/antd-base/src'
    },
    extensions: [
      '.js',
      '.jsx',
      '.ts',
      '.tsx',
      '.css',
      '.less',
      '.scss',
      '.sass',
      '.json'
    ],
    modules: [
      'node_modules',
      '/Users/ken/Desktop/develop/MicroFE/emp-workspace/projects/antd-base/node_modules',
      '/Users/ken/Desktop/develop/MicroFE/emp-workspace/projects/antd-base/src'
    ]
  },
  devServer: {
    host: 'localhost',
    port: 8003,
    disableHostCheck: true,
    historyApiFallback: true,
    open: false,
    hot: true,
    stats: {
      colors: true
    }
  },
  module: {
    rules: [
      /* config.module.rule('css') */
      {
        test: /\.css$/,
        exclude: [
          /\.module\.css$/
        ],
        use: [
          /* config.module.rule('css').use('style') */
          {
            loader: '/Users/ken/Desktop/develop/MicroFE/emp-workspace/node_modules/style-loader/dist/cjs.js'
          },
          /* config.module.rule('css').use('css') */
          {
            loader: '/Users/ken/Desktop/develop/MicroFE/emp-workspace/node_modules/css-loader/dist/cjs.js'
          }
        ]
      },
      /* config.module.rule('cssModule') */
      {
        test: /\.module\.css$/,
        exclude: [
          /\.css$/
        ],
        use: [
          /* config.module.rule('cssModule').use('style') */
          {
            loader: '/Users/ken/Desktop/develop/MicroFE/emp-workspace/node_modules/style-loader/dist/cjs.js'
          },
          /* config.module.rule('cssModule').use('css') */
          {
            loader: '/Users/ken/Desktop/develop/MicroFE/emp-workspace/node_modules/css-loader/dist/cjs.js',
            options: {
              modules: true
            }
          }
        ]
      },
      /* config.module.rule('sassModule') */
      {
        test: /\.module\.(scss|sass)$/,
        exclude: [
          /\.(scss|sass)$/
        ],
        use: [
          /* config.module.rule('sassModule').use('style') */
          {
            loader: '/Users/ken/Desktop/develop/MicroFE/emp-workspace/node_modules/style-loader/dist/cjs.js'
          },
          /* config.module.rule('sassModule').use('css') */
          {
            loader: '/Users/ken/Desktop/develop/MicroFE/emp-workspace/node_modules/css-loader/dist/cjs.js',
            options: {
              modules: true
            }
          },
          /* config.module.rule('sassModule').use('sass') */
          {
            loader: '/Users/ken/Desktop/develop/MicroFE/emp-workspace/node_modules/sass-loader/dist/cjs.js',
            options: {
              implementation: {
                render: function () {
                  return _call(f, Array.prototype.slice.apply(arguments));
                },
                renderSync: function () {
                  return _call(f, Array.prototype.slice.apply(arguments));
                },
                info: 'dart-sass\t1.26.7\t(Sass Compiler)\t[Dart]\ndart2js\t2.8.2\t(Dart Compiler)\t[Dart]',
                types: {
                  Boolean: function () {
                    return _call(f, Array.prototype.slice.apply(arguments));
                  },
                  Color: function () {
                    return _call(f, this, Array.prototype.slice.apply(arguments));
                  },
                  List: function () {
                    return _call(f, this, Array.prototype.slice.apply(arguments));
                  },
                  Map: function () {
                    return _call(f, this, Array.prototype.slice.apply(arguments));
                  },
                  Null: function () {
                    return _call(f, Array.prototype.slice.apply(arguments));
                  },
                  Number: function () {
                    return _call(f, this, Array.prototype.slice.apply(arguments));
                  },
                  String: function () {
                    return _call(f, this, Array.prototype.slice.apply(arguments));
                  },
                  Error: function Error() { [native code] }
                },
                NULL: {
                  toString: function () {
                    return _call(f, Array.prototype.slice.apply(arguments));
                  }
                },
                TRUE: {
                  value: true
                },
                FALSE: {
                  value: false
                },
                cli_pkg_main_0_: function () {
                  return _call(f, Array.prototype.slice.apply(arguments));
                }
              },
              sourceMap: true
            }
          }
        ]
      },
      /* config.module.rule('sass') */
      {
        test: /\.(scss|sass)$/,
        exclude: [
          /\.module\.(scss|sass)$/
        ],
        use: [
          /* config.module.rule('sass').use('style') */
          {
            loader: '/Users/ken/Desktop/develop/MicroFE/emp-workspace/node_modules/style-loader/dist/cjs.js'
          },
          /* config.module.rule('sass').use('css') */
          {
            loader: '/Users/ken/Desktop/develop/MicroFE/emp-workspace/node_modules/css-loader/dist/cjs.js'
          },
          /* config.module.rule('sass').use('sass') */
          {
            loader: '/Users/ken/Desktop/develop/MicroFE/emp-workspace/node_modules/sass-loader/dist/cjs.js',
            options: {
              implementation: {
                render: function () {
                  return _call(f, Array.prototype.slice.apply(arguments));
                },
                renderSync: function () {
                  return _call(f, Array.prototype.slice.apply(arguments));
                },
                info: 'dart-sass\t1.26.7\t(Sass Compiler)\t[Dart]\ndart2js\t2.8.2\t(Dart Compiler)\t[Dart]',
                types: {
                  Boolean: function () {
                    return _call(f, Array.prototype.slice.apply(arguments));
                  },
                  Color: function () {
                    return _call(f, this, Array.prototype.slice.apply(arguments));
                  },
                  List: function () {
                    return _call(f, this, Array.prototype.slice.apply(arguments));
                  },
                  Map: function () {
                    return _call(f, this, Array.prototype.slice.apply(arguments));
                  },
                  Null: function () {
                    return _call(f, Array.prototype.slice.apply(arguments));
                  },
                  Number: function () {
                    return _call(f, this, Array.prototype.slice.apply(arguments));
                  },
                  String: function () {
                    return _call(f, this, Array.prototype.slice.apply(arguments));
                  },
                  Error: function Error() { [native code] }
                },
                NULL: {
                  toString: function () {
                    return _call(f, Array.prototype.slice.apply(arguments));
                  }
                },
                TRUE: {
                  value: true
                },
                FALSE: {
                  value: false
                },
                cli_pkg_main_0_: function () {
                  return _call(f, Array.prototype.slice.apply(arguments));
                }
              },
              sourceMap: true
            }
          }
        ]
      },
      /* config.module.rule('less') */
      {
        test: /\.less$/,
        exclude: [
          /\.module\.less$/
        ],
        use: [
          /* config.module.rule('less').use('style') */
          {
            loader: '/Users/ken/Desktop/develop/MicroFE/emp-workspace/node_modules/style-loader/dist/cjs.js'
          },
          /* config.module.rule('less').use('css') */
          {
            loader: '/Users/ken/Desktop/develop/MicroFE/emp-workspace/node_modules/css-loader/dist/cjs.js'
          },
          /* config.module.rule('less').use('sass') */
          {
            loader: '/Users/ken/Desktop/develop/MicroFE/emp-workspace/node_modules/less-loader/dist/cjs.js',
            options: {
              lessOptions: {
                javascriptEnabled: true
              }
            }
          }
        ]
      },
      /* config.module.rule('lessModule') */
      {
        test: /\.module\.less$/,
        exclude: [
          /\.less$/
        ],
        use: [
          /* config.module.rule('lessModule').use('style') */
          {
            loader: '/Users/ken/Desktop/develop/MicroFE/emp-workspace/node_modules/style-loader/dist/cjs.js'
          },
          /* config.module.rule('lessModule').use('css') */
          {
            loader: '/Users/ken/Desktop/develop/MicroFE/emp-workspace/node_modules/css-loader/dist/cjs.js',
            options: {
              modules: true
            }
          },
          /* config.module.rule('lessModule').use('sass') */
          {
            loader: '/Users/ken/Desktop/develop/MicroFE/emp-workspace/node_modules/less-loader/dist/cjs.js',
            options: {
              lessOptions: {
                javascriptEnabled: true
              }
            }
          }
        ]
      },
      /* config.module.rule('image') */
      {
        test: /\.(png|jpe?g|gif|svg)$/i,
        use: [
          /* config.module.rule('image').use('file') */
          {
            loader: '/Users/ken/Desktop/develop/MicroFE/emp-workspace/node_modules/file-loader/dist/cjs.js'
          }
        ]
      },
      /* config.module.rule('scripts') */
      {
        test: /\.(js|jsx|ts|tsx)$/,
        exclude: [
          /node_modules/
        ],
        use: [
          /* config.module.rule('scripts').use('babel') */
          {
            loader: 'babel-loader',
            options: {
              presets: [
                '@babel/preset-env',
                '@babel/preset-typescript',
                '@babel/preset-react'
              ],
              plugins: [
                [
                  'import',
                  {
                    libraryName: 'antd',
                    style: true
                  }
                ],
                '/Users/ken/Desktop/develop/MicroFE/emp-workspace/node_modules/react-refresh/babel.js'
              ]
            }
          }
        ]
      }
    ]
  },
  optimization: {
    chunkIds: 'named',
    usedExports: true
  },
  plugins: [
    /* config.plugin('env') */
    new EnvironmentPlugin(
      {
        MODE_ENV: 'development',
        EMP_ENV: 'dev'
      }
    ),
    /* config.plugin('clean') */
    new CleanWebpackPlugin(ndefine),
    /* config.plugin('html') */
    new HtmlWebpackPlugin(
      {
        title: 'EMP BASE',
        template: '/Users/ken/Desktop/develop/MicroFE/emp-workspace/packages/emp-cli/template/public/index.html',
        favicon: '/Users/ken/Desktop/develop/MicroFE/emp-workspace/packages/emp-cli/template/public/favicon.ico',
        files: {},
        minify: false
      }
    ),
    /* config.plugin('progress') */
    new ProgressPlugin(
      {
        handler: function () { /* omitted long function */ }
      }
    ),
    /* config.plugin('mf') */
    new ModuleFederationPlugin(
      {
        name: 'empBase',
        library: {
          type: 'var',
          name: 'empBase'
        },
        filename: 'emp.js',
        remotes: {},
        exposes: {
          './App': 'src/App',
          './stores/index': 'src/stores/index',
          './components/common/crud/index': 'src/components/common/crud/index',
          './components/common/RouterComp': 'src/components/common/RouterComp'
        },
        shared: {
          react: {
            eager: true,
            singleton: true,
            requiredVersion: '^16.13.1'
          },
          'react-dom': {
            eager: true,
            singleton: true,
            requiredVersion: '^16.13.1'
          },
          'react-router-dom': {
            requiredVersion: '^5.1.2'
          },
          'mobx-react-lite': {
            requiredVersion: '^1.5.2'
          },
          mobx: {
            requiredVersion: '^5.15.4'
          },
          axios: {
            requiredVersion: '^0.19.2'
          }
        }
      }
    ),
    /* config.plugin('ts') */
    new ForkTsCheckerWebpackPlugin(
      {
        tsconfig: '/Users/ken/Desktop/develop/MicroFE/emp-workspace/projects/antd-base/tsconfig.json'
      }
    ),
    /* config.plugin('reacthotloader') */
    new ReactRefreshPlugin(
      {}
    )
  ],
  entry: {
    index: [
      '/Users/ken/Desktop/develop/MicroFE/emp-workspace/projects/antd-base/src/index.ts'
    ]
  }
}

@pmmmwh pmmmwh changed the title UnhandledPromiseRejectionWarning: Error: Cannot find module 'webpack/lib/ParserHelpers' Issues with Webpack 5 and Module Federation Jul 2, 2020
@ckken
Copy link
Author

ckken commented Jul 7, 2020

 "@pmmmwh/react-refresh-webpack-plugin": "https://github.com/pmmmwh/react-refresh-webpack-plugin#main",

it no work for me
module-federation/module-federation-examples#138 (comment)

@pmmmwh
Copy link
Owner

pmmmwh commented Jul 7, 2020

I won't have time to test module federation this week most likely, but from what I see in the screenshot it is some sort of error within Webpack's JSONP HMR runtime - which is way out of scope of this plugin.

@ckken I would suggest you redirect your troubleshooting to webpack/webpack#10352 (I will join the discussion if I see anything related), with a minimal reproducible example (like how I did upstairs, strip away all unrelated stuff e.g. CSS and focus on MF) so that Tobias/Zack can have a failing baseline to build on (think of TDD - the example acts as a test where we implement code to make it pass). While screenshots shows traces of where the error originates without the whole picture it is difficult for anyone to track down issues, especially when it is tech like this that orchestrates stuff.

(Also - I'm not an expert on Webpack 5, so maybe the current implementation for Webpack 5 is somewhat flawed for an app running with MF, but so far I haven't seen any ...)

@flyyuan
Copy link

flyyuan commented Jul 7, 2020

mark

@pmmmwh
Copy link
Owner

pmmmwh commented Sep 3, 2020

From #195, reported by @shaodahong

Report: shaodahong/module-federation-react-refresh-demo

if change some text trigger refresh, console log some error

@pmmmwh @ScriptedAlchemy

image

@pmmmwh pmmmwh changed the title Issues with Webpack 5 and Module Federation [Meta] Webpack 5 Module Federation - Errors Sep 3, 2020
@pmmmwh pmmmwh self-assigned this Sep 3, 2020
@pmmmwh pmmmwh added the enhancement New feature or request label Sep 3, 2020
@pmmmwh pmmmwh added the help wanted Extra attention is needed label Sep 3, 2020
@pmmmwh pmmmwh pinned this issue Sep 3, 2020
@shaodahong
Copy link

Relate webpack/webpack-dev-server#2692

@shaodahong
Copy link

shaodahong commented Nov 28, 2020

Now webpack-dev-server release v4.0.0-beta.0, it's resolved multiple entrypoint hot refresh, and if still has an error, can report to webpack-dev-server

@ckken
Copy link
Author

ckken commented Nov 28, 2020

image

@ckken
Copy link
Author

ckken commented Nov 28, 2020

image

@ckken
Copy link
Author

ckken commented Nov 28, 2020

  • git clone https://github.com/efoxTeam/emp
  • lerna bootstrap
  • cd projects && yarn dev:hot
  • change https://github.com/efoxTeam/emp/blob/main/projects/demo1/src/bootstrap.tsx & throw error

@ckken
Copy link
Author

ckken commented Nov 30, 2020

image
Fixed cross domain issues, but page changed from hot to refresh

@ckken
Copy link
Author

ckken commented Nov 30, 2020

image

@ckken
Copy link
Author

ckken commented Nov 30, 2020

I found that there would be problems when project a was import into project B

@shaodahong
Copy link

like hot replace and liveReload both active, liveReload it's fallback

@ckken
Copy link
Author

ckken commented Nov 30, 2020

liveReload is disabled
image
I found possible problems

@akphi
Copy link

akphi commented Dec 1, 2020

@pmmmwh not sure if this is related, but as @shaodahong mentioned webpack-dev-server just released v4.0.0-beta.0; and as I just tried it out, I found that fast-refresh no-longer works.

I have a reproducible repo, please take a look at this PR. After upgrading to [email protected]. If you run the app using yarn start and try to hit the + button a few time to increase the age, then you try to make some trivial change in App.tsx the page is reloaded, and the age is reset to 10.

@pmmmwh if you would like me to file a separate issue, please let me know.

@shaodahong
Copy link

@pmmmwh not sure if this is related, but as @shaodahong mentioned webpack-dev-server just released v4.0.0-beta.0; and as I just tried it out, I found that fast-refresh no-longer works.

I have a reproducible repo, please take a look at this PR. After upgrading to [email protected]. If you run the app using yarn start and try to hit the + button a few time to increase the age, then you try to make some trivial change in App.tsx the page is reloaded, and the age is reset to 10.

@pmmmwh if you would like me to file a separate issue, please let me know.

@akphi can you set webpack-dev-server liveReload: false?

@akphi
Copy link

akphi commented Dec 1, 2020

@shaodahong Yes, that seems to work just fine. Thank you! @pmmmwh should we consider this just as a workaround for now, or this can be the documented solution?

@akphi
Copy link

akphi commented Dec 1, 2020

looks like rather a matter of disabling liveReload explicitly, it could be due to some change to the default value set for watchContentBase in their v4.beta, I did a bit of digging and filed an issue webpack/webpack-dev-server#2893

@shaodahong
Copy link

@akphi yep, but this PR talk about use ModuleFederationPlugin, crash when multiple entrypoint

@ckken
Copy link
Author

ckken commented Dec 4, 2020

@ckken
Copy link
Author

ckken commented Dec 5, 2020

@pmmmwh
Copy link
Owner

pmmmwh commented Dec 6, 2020

I'm not sure what we're looking for here now - it seems to me most of the errors tracked within this thread is not our issue but rather from upstream (webpack-dev-server)? I'm not sure what you mean by working for esbuild or swc to be honest.

@pmmmwh
Copy link
Owner

pmmmwh commented Sep 4, 2021

#394

@pmmmwh pmmmwh unpinned this issue Sep 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

6 participants