We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我有参考https://github.com/umijs/umi/pull/918之前这个issues, 但是我还是没有看明白我应该如何正确的引入wasm文件, 我直接import的话, 会报错
import('./m.wasm').then(m => { console.log(m); })
报错信息:
This dependency was not found:
The text was updated successfully, but these errors were encountered:
可以在chainwebpack 中试试 https://www.npmjs.com/package/wasm-module-webpack-plugin
Sorry, something went wrong.
折腾了2天终于折腾出来了,在配置文件里把dynamicImport或者dynamicImportSyntax打开即可
dynamicImport
dynamicImportSyntax
No branches or pull requests
我有参考https://github.com/umijs/umi/pull/918之前这个issues, 但是我还是没有看明白我应该如何正确的引入wasm文件, 我直接import的话, 会报错
报错信息:
This dependency was not found:
The text was updated successfully, but these errors were encountered: