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

FetchCompileWasmTemplatePlugin is not a constructor #126

Open
chris-aeviator opened this issue Dec 20, 2021 · 4 comments
Open

FetchCompileWasmTemplatePlugin is not a constructor #126

chris-aeviator opened this issue Dec 20, 2021 · 4 comments

Comments

@chris-aeviator
Copy link

chris-aeviator commented Dec 20, 2021

I'm running into this in my react app (next.js) when trying to use the workerize-loader!./myWorker

@Th0rgal
Copy link

Th0rgal commented Mar 2, 2022

any update?

@rjgotten
Copy link

The reason is the plugin was renamed to FetchCompileWasmPlugin in Webpack 5

@sadeq-qafari
Copy link

@rjgotten, how to fix it?

@rjgotten
Copy link

rjgotten commented Sep 13, 2023

@sadeq-qafari
There is no way of fixing it, short of patching the package.

I actually ended up writing my own instead - because workerize-loader has some other nasty breakage wrt webpack cache that makes it produce unreliable output: #131 (comment) and I didn't like several other aspects of its API surface.

However, that stuff is company code I can't share. Sorry.

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

4 participants