-
-
Notifications
You must be signed in to change notification settings - Fork 749
Description
System Info
System:
OS: Windows 11 10.0.26100
CPU: (12) x64 12th Gen Intel(R) Core(TM) i7-1255U
Memory: 1.37 GB / 15.69 GB
Binaries:
Node: 22.3.0
npm: 10.8.1
pnpm: 9.12.2
npmPackages:
@rspack/cli: ^1.6.7 => 1.6.7
@rspack/core: ^1.6.7 => 1.6.7
Details
adding new ExternalTemplateRemotesPlugin(), to a plugins array causes error when i run pnpm run dev
it causes error [webpack-dev-middleware] [Error: × TypeError: Cannot read properties of undefined (reading 'tap')
so is there any other recommended way to work with dynamic remotes in module federation 1.5 ?
Reproduce link
https://github.com/nurbolnygmanov/rspack-external-remotes-plugin
Reproduce Steps
this is basic rspack template
run pnpm i pnpm run dev
you will get terminal error: [webpack-dev-middleware] [Error: × TypeError: Cannot read properties of undefined (reading 'tap')
run pnpm run build
[rspack-cli] [Error: × TypeError: Cannot read properties of undefined (reading 'tap')