-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for linked modules (#3069)
* Add support for linked modules * Use `wasm_bindgen::link_to!` in wasm-bindgen-futures * Fix tests * Update schema * Return `String` instead of `Result<String, JsValue>` * Add documentation * Add tests * Refactor: Return Diagnostic from module_from_opts * Refactor: Use Option::filter * Fix inline_js offsets * Fully-qualified names in quote * Return absolute URLs and add node tests * Fix message * Enable compile doctest for example * Disallow module paths in `link_to!` * Fix documentation * Opt-in to linked modules in wasm-bindgen with `--allow-links` * Fix tests * Support embedding for local modules * Remove linked module embed limit * Fix escaping * Add and refer to the documentation * Rename option and improve documentation * Improve documentation * Update crates/macro/src/lib.rs Co-authored-by: Liam Murphy <liampm32@gmail.com> * Add paragraph break in docs
- Loading branch information
1 parent
d696427
commit e1b44b7
Showing
27 changed files
with
468 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.