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
Use loadRemote from @module-federation/enhanced/runtime
Start dev server and open localhost:4200
Observe the following message in terminal:
[vite] warning:
.../.angular/cache/18.2.12/angular-module-federation-esm-warning/vite/deps/@module-federation_enhanced_runtime.js
2134| import(
2135| /* webpackIgnore: true */
2136| entry
| ^^^^^
2137| ).then(resolve).catch(reject);
2138| } else {
The above dynamic import cannot be analyzed by Vite.
See https://github.com/rollup/plugins/tree/master/packages/dynamic-import-vars#limitations for supported dynamic import formats. If this is intended to be left as-is, you can use the /* @vite-ignore */ comment inside the import() call to suppress this warning.
Plugin: vite:import-analysis
File: .../.angular/cache/18.2.12/angular-module-federation-esm-warning/vite/deps/@module-federation_enhanced_runtime.js?v=c3d1dba7
Describe the bug
Steps to reproduce:
ng new
Reproduction
I'll create a PR with a fix.
Reproduction
https://github.com/sk-pub/angular-module-federation-esm-warning
Used Package Manager
npm
System Info
Validations
The text was updated successfully, but these errors were encountered: