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

BitBox WASM - planned move to webpack 5 or use wasm-loader with webpack 4? #4880

Open
Tomasvrba opened this issue Mar 25, 2024 · 2 comments
Open
Labels
Feature Feature tasks

Comments

@Tomasvrba
Copy link
Contributor

Previous (bitbox02-api) is being deprecated.
The new one is much smaller in size, comes with complete TypeScript, and is a proper ES6 module and is based on WASM
I am currently working on switching the dependency in MEW

for this it would be ideal to have webpack v5 to enable experimental features:

experiments: {
    asyncWebAssembly: true
}

There is a way to do this with webpack 4, but it's slightly more complicated so I am wondering which way you'd prefer to do it?
Are you planning or open to moving to webpack 5 or should I do this in webpack 4?

Thanks!

@Tomasvrba Tomasvrba added the Feature Feature tasks label Mar 25, 2024
@gamalielhere
Copy link
Contributor

@Tomasvrba I'm currently working on migrating to webpack 5 but it's been tricky to do so at the moment as it causes a bunch of failures. Work has been started here #4778 but that may be preceded in the near future. If you can, do it on webpack 4 for now

@Tomasvrba
Copy link
Contributor Author

@gamalielhere do you have any guess at all for when webpack 5 might be ready?
Spent a few hours trying to get the wasm module to work with webpack 4, but could not get it to work

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

No branches or pull requests

2 participants