-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[WIP][browser] Split into smaller es6 modules #83364
Conversation
Tagging subscribers to 'arch-wasm': @lewing Issue Detailswork in progress
|
|
||
let consoleWebSocket: WebSocket; | ||
|
||
function setup_proxy_console(id: string, console: Console, origin: string): void { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really need this in the loader?
const runtimeModule: RuntimeModuleAPI = await modulePromises[0]; | ||
const { initializeImportsAndExports } = runtimeModule; | ||
|
||
const { default: emscriptenModule } = await modulePromises[1]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const runtimeModule: RuntimeModuleAPI = await modulePromises[0]; | |
const { initializeImportsAndExports } = runtimeModule; | |
const { default: emscriptenModule } = await modulePromises[1]; | |
const [runtimeModule, coreModule] = await Promise.all (modulesPromises); | |
const { initializeImportsAndExports} = runtimeModule; | |
const { default: emscriptenModule } = coreModule; |
5f8353f
to
cc815bc
Compare
work in progress