-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Feature Request] MPM supports running in the browser, retaining only the build functionality to reduce size. #3363
Comments
pick! |
Since the browser does not support file operations, compiling move-compiler to wasm-unkown-unkown will fail because it cannot read the file. The solution of the pontem-network team is to let move-compiler provide compilation Callback/Interact, and then wasm implements the file access interface separately. Related Commit: pontem-network/diem@11ae64b |
But now move-language/move has no Callback/Interact function. |
@yubing744, please create a new Feature Request for the callback requirement. |
OK |
@jolestar I have created a new Feature Request for the callback requirement: move-language/move#89 |
Is this feature implemented in move-js? |
Yes, it can be closed |
Feature Request
MPM supports running in the browser, retaining only the build functionality to reduce size.
Describe Preferred Solution
Control module compilation by turning on the feature switch, set the compilation target to wasm32-unknown-unknown support running in the browser.
Related Code
(https://github.com/starcoinorg/starcoin/tree/master/vm/move-package-manager)
Additional Context
Like Dove Light - Dove package manager built for Web.
If the feature request is approved, would you be willing to submit a PR?
Yes
The text was updated successfully, but these errors were encountered: