8000 js: denextify by alexjg · Pull Request #1027 · automerge/automerge · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

js: denextify #1027

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

Merged
merged 1 commit into from
May 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension < 8000 label class="SelectMenu-item" role="menuitem"> All 10 file types selected


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions javascript/HACKING.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,14 +124,6 @@ a `/slim` subpath export. This export only includes the javascript code and
allows the user to figure out how to load the WebAssembly themselves. This is
also the path which libraries should depend on.

We also expose a `/next` subpath export which only exposes the "next" API
and it's types (this is mainly for convenience when importing types in
typescript). This subpath export also needs to be conditional.

In order to allow choosing initialization on the `/next` subpath we
also expose a `/slim/next` subpath. Altogether then we have the following
subpaths:

Finally, we also want to make it easy for the user to obtain the WebAssembly
file from this package, so we expose two subpath exports, one which provides
the WebAssembly file directly and another which exposes a base64 encoded
Expand All @@ -141,9 +133,6 @@ Altogether then we have the following exports:

- `/`: The full package with WebAssembly initialization
- `/slim`: Only the JavaScript code, no WebAssembly initialization
- `/next`: Only the "next" API and it's types, performs WebAssembly
initialization
- `/slim/next`: Only the "next" API, no WebAssembly initialization
- `/automerge.wasm`: The WebAssembly file
- `/automerge.wasm.base64.js`: The WebAssembly file as a module with a single
export which is a base64 encoded string
Expand Down
Loading
Loading
0