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

[WIP][browser] Split into smaller es6 modules #83364

Closed
wants to merge 1 commit into from

Conversation

pavelsavara
Copy link
Member

work in progress

@pavelsavara pavelsavara added this to the 8.0.0 milestone Mar 14, 2023
@pavelsavara pavelsavara requested a review from maraf March 14, 2023 00:42
@pavelsavara pavelsavara self-assigned this Mar 14, 2023
@ghost
Copy link

ghost commented Mar 14, 2023

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

work in progress

Author: pavelsavara
Assignees: pavelsavara
Labels:

arch-wasm, area-System.Runtime.InteropServices.JavaScript

Milestone: 8.0.0


let consoleWebSocket: WebSocket;

function setup_proxy_console(id: string, console: Console, origin: string): void {
Copy link
Member

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?

Comment on lines +431 to +449
const runtimeModule: RuntimeModuleAPI = await modulePromises[0];
const { initializeImportsAndExports } = runtimeModule;

const { default: emscriptenModule } = await modulePromises[1];
Copy link
Member

@lambdageek lambdageek Mar 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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;

@pavelsavara pavelsavara added NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) NO-REVIEW Experimental/testing PR, do NOT review it labels Mar 14, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Apr 19, 2023
@pavelsavara pavelsavara deleted the browser_modules branch September 2, 2024 15:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-System.Runtime.InteropServices.JavaScript NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) NO-REVIEW Experimental/testing PR, do NOT review it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants