You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that the TypeScript transpiler is implicitly stripping unused imports (even though they are in fact “used” because the code will be rewritten to expose the imported symbols as top-level variables). Also, by default it appears to generate a CommonJS module, or something. So this:
import{foo}from"npm:bar";
Is being converted into this:
export{};
When it shouldn’t be changed at all. I suspect we are passing the wrong arguments to transpile.