Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webpack 5 support for module federation and Jest #21

Open
testacode opened this issue Nov 14, 2020 · 2 comments
Open

Webpack 5 support for module federation and Jest #21

testacode opened this issue Nov 14, 2020 · 2 comments

Comments

@testacode
Copy link

Hi there! Just fell into this wonderful repo but no activity for 5 years.

Hope you are doing fine. I'm having some issues with webpack 5 and jest and if you are willing to take a look on this issue I have.

@ScriptedAlchemy
Copy link

I know this is an old project. But there's a legitimate reason to revive this tool which would be critical for webpack 5 federated unit testing.

If you're still active in OSS, would you consider it if other oss members tried to help?

I know the webpack 5 api very well. But am unfamiliar with jest.

@richardscarrott
Copy link
Member

TBH this project became somewhat obsolete shortly after I released it because Jest was unfortunately all but rewritten and Jestpack relied on replacing Jest's module loader to get things working which they no longer support.

Having said that, Jest's rewrite made mocking non-js imports very easy which was the main problem we were facing at the time and additionally offered much better performance so I never felt the need to come back to Jestpack.

I'm not familiar with Webpack federated modules but I wonder if they could also be rewritten with the module name mapper?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants