deno: Deno bundle error in 1.5.0: thread 'main' panicked at 'not implemented: namespaced re-export

This worked without issue in 1.4.6:

deno bundle src/main.ts $DENO_INSTALL_ROOT/bin/example.bundle.js

Now, I am getting this error:

Bundle file:///redacted/path/to/src/main.ts
Check file:///redacted/path/to/src/main.ts
thread 'main' panicked at 'not implemented: namespaced re-export: local=path#42, all=true', /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/swc_bundler-0.12.0/src/bundler/chunk/export.rs:219:29
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (13 by maintainers)

Commits related to this issue

Most upvoted comments

This looks like an upstream SWC issue. @kdy1 has mid term exams right now, so let’s wait with pinging him about it for a few more days 😃

This is a bug of swc_bundler. I’ll fix it soon.

@jveres can you also try deno run --no-check and see if the error still happens as well while we investigate.