unjs / unwasm

🇼 WebAssembly tools for JavaScript
MIT License
173 stars 6 forks source link

feat: support `?module` suffix for compatibility #23

Closed pi0 closed 6 months ago

pi0 commented 6 months ago

This PR adds support to access WebAssembly.Module instance using ?module suffix.

While ideally aim of this project is to help more libraries migrate to ESM, upgrading ecosystem takes time and it can help to adopt unwasm without strict requirements.