bytecodealliance / ComponentizeJS

JS -> WebAssembly Component
Apache License 2.0
225 stars 27 forks source link

fix: treeshaking of local package references #128

Closed guybedford closed 1 month ago

guybedford commented 1 month ago

This fixes an issue with treeshaking where references to local package interfaces were turning into package references, which were being tree-shaken despite being internal references.

Fixes a bug in Jco's test suite under the latest ComponentizeJS.

Should also resolve https://github.com/bytecodealliance/ComponentizeJS/issues/126.