You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a rust library (with napi config of monodon). and trying to import a basic function to use within an angular Application that's using webpack mfe. When I try to build the angular app, I get the following error:
TypeError: Cannot read properties of undefined (reading 'data')
at /node_modules/@nx/webpack/src/utils/module-federation/dependencies.js:33:53
Specifically when the target is cargo:napi. I'm assuming if it's not a npm source, then it's treating it like a workspace library, and expecting data.root to exist (but it doesn't so it fails).
Any way to add support so I can import these libraries into webpack/mfe applications?
Currently using monodon: 2.1.1
The text was updated successfully, but these errors were encountered:
I created a rust library (with napi config of monodon). and trying to import a basic function to use within an angular Application that's using webpack mfe. When I try to build the angular app, I get the following error:
Issue seems to be happening on this line
Specifically when the target is
cargo:napi
. I'm assuming if it's not a npm source, then it's treating it like a workspace library, and expectingdata.root
to exist (but it doesn't so it fails).Any way to add support so I can import these libraries into webpack/mfe applications?
Currently using monodon:
2.1.1
The text was updated successfully, but these errors were encountered: