angular-architects / module-federation-plugin

MIT License
698 stars 190 forks source link

Issue after upgrading to 17.1 with es-module-shims #440

Open marcusho21 opened 5 months ago

marcusho21 commented 5 months ago

After upgrading to 17.1 the es-module-shims polyfill causes error when running ng serve

[plugin:vite:import-analysis] Failed to parse source for import analysis because the content contains invalid JS syntax. If you are using JSX, make sure to name the file with the .jsx or .tsx extension. ../../node_modules/.pnpm/es-module-shims@1.8.2/node_modules/es-module-shims/dist/es-module-shims.js:970:0

Screenshot 2024-01-22 at 12 04 53 AM

itsRyuzaki commented 4 days ago

We too are facing the same issue, anyone got any updates? Though it worked for me sometime back when i ran the application multiple times, can it be because of cache or something?