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 am using "@angular-architects/module-federation": "^14.3.14" version in angular application with a library named test and application named host. I used path mapping in angular tsconfig as below.
"paths": {
"test/": [
"projects/test/",
"dist/test"
]
}
i am trying to access a module like import { TestModule } from 'test/first';
in my app.module and trying to render the library component in app.html.
Error: Module not found: Error: Can't resolve 'test/*' in 'E:\mfe\projects\host\src\app'.
I encountered this error only after introducing the webpack file. I suspect the webpack is not resolving the my path alias
The text was updated successfully, but these errors were encountered:
I am using "@angular-architects/module-federation": "^14.3.14" version in angular application with a library named test and application named host. I used path mapping in angular tsconfig as below.
"paths": {
"test/": [
"projects/test/",
"dist/test"
]
}
i am trying to access a module like import { TestModule } from 'test/first';
in my app.module and trying to render the library component in app.html.
Error: Module not found: Error: Can't resolve 'test/*' in 'E:\mfe\projects\host\src\app'.
I encountered this error only after introducing the webpack file. I suspect the webpack is not resolving the my path alias
The text was updated successfully, but these errors were encountered: