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

Deploy ratel-wasm using CI, MIME type #77

Open
cmtt opened this issue Jun 5, 2018 · 3 comments
Open

Deploy ratel-wasm using CI, MIME type #77

cmtt opened this issue Jun 5, 2018 · 3 comments

Comments

@cmtt
Copy link
Member

cmtt commented Jun 5, 2018

In order to have the REPL up-to-date with each master deployment, it should be deployed to a static web host during CI.

Additionally, wasm files should be served with application/wasm as MIME type. This ensures that browsers can compile the application while streaming the resource.

Currently, the following error is logged:

wasm streaming compile failed: TypeError: Failed to execute 'compile' on 'WebAssembly':
Incorrect response MIME type. Expected 'application/wasm'.
falling back to ArrayBuffer instantiation
@ishitatsuyuki
Copy link
Contributor

Working on rewrite of the WASM part with the awesome tools the WASM WG made. wasm-pack is brilliant!

@ishitatsuyuki
Copy link
Contributor

Opened #110. As for deployment, I guess GitHub pages is the best bet currently because other providers such as Netlify is not good for management across the organization.

@ishitatsuyuki
Copy link
Contributor

Status: waiting for confirmation and providing token, as described in #110 (comment).

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

No branches or pull requests

2 participants