Skip to content

fix: initialize Wasm automatically before parsing - #120

Open
BridgeAR wants to merge 1 commit into
mainfrom
BridgeAR/2026-08-28-cjs-auto-init
Open

fix: initialize Wasm automatically before parsing#120
BridgeAR wants to merge 1 commit into
mainfrom
BridgeAR/2026-08-28-cjs-auto-init

Conversation

@BridgeAR

Copy link
Copy Markdown
Member

The synchronous parse API cannot represent pending initialization, but it previously required callers to arrange initialization first. Browser callers should still await init() because main threads can restrict synchronous Wasm compilation.

Refs: guybedford/es-module-lexer@61ad2a5

The synchronous parse API cannot represent pending initialization, but it previously required callers to arrange initialization first. Browser callers should still await init() because main threads can restrict synchronous Wasm compilation.

Refs: guybedford/es-module-lexer@61ad2a5
@BridgeAR
BridgeAR marked this pull request as ready for review August 29, 2026 09:00
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

Successfully merging this pull request may close these issues.

1 participant