privatenumber / esbuild-loader

💠 Speed up your Webpack with esbuild ⚡️
MIT License
3.56k stars 108 forks source link

The current version is not supported module federation build production #323

Closed breitembach closed 1 year ago

breitembach commented 1 year ago

Bug description

Error on genereted remoteEntry when host consumer entryPoint.

optimization: {
     minimizer: [
       new EsbuildPlugin({
         target: 'es2015'  // Syntax to compile to (see options below for possible values)
      })
     ]
   }

Minimal reproduction link

http://

Environment

System:
    OS: Linux 5.19 Ubuntu 22.04.2 LTS 22.04.2 LTS (Jammy Jellyfish)
    CPU: (24) x64 AMD Ryzen 9 5900X 12-Core Processor
    Memory: 53.82 GB / 62.74 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 18.15.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 9.5.0 - /usr/local/bin/npm

Can you contribute a fix?

privatenumber commented 1 year ago

Can you provide more detail on your error and a minimal reproduction?

Closing for now but will re-open once provided.