Skip to content

Support source phase imports #61216

Open
Open
@dsherret

Description

@dsherret

🔍 Search Terms

import source wasm

✅ Viability Checklist

⭐ Suggestion

Support for source phase imports: https://github.com/tc39/proposal-source-phase-imports

📃 Motivating Example

// wasmModule is WebAssembly.Module
import source wasmModule from "./math.wasm"

💻 Use Cases

  1. Getting a wasm module instead of instance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CommittedThe team has roadmapped this issueHelp WantedYou can do thisSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions