-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: bundled code is missing definitions for "import as" functions #8285
Comments
While The only exported symbols from import * as djwt from "./djwt.js";
console.log(djwt); I get no errors, and exactly the same symbols logged if I use the module directly. |
@kitsonk thank you for looking into this, I've put together a quick test, it comes down to
|
I also encountered this with |
Ran into this with Handlebars for Deno... |
@alexanderGalushka Can you check if this is still present in 1.5.4? I think this is a duplicate of #8314, which is fixed. |
This is fixed by new version of swc_bundler. (I've added test for it) |
deno --version
deno bundle "https://deno.land/x/[email protected]/mod.ts" > djwt.js
using the bundled djwt.js produces the following error:
ReferenceError: convertUint8ArrayToHex is not defined
convertUint8ArrayToHex is declared in deps.ts of the djwt lib
referencing an issue opened against djwt
The text was updated successfully, but these errors were encountered: