Deno bundle duplicating variables
Using Deno 1.26.2
I am trying to bundle https://github.com/Savory/Danet-Starter using
deno bundle run.ts standalone-starter.js
However, the generated standalone-starter.js
contains duplicated variable declaration, resulting in error: Uncaught SyntaxError: Identifier 'mod' has already been declared
while trying to use deno run standalone-starter.js
.
Did I do something wrong or is it a bug ?4 Replies
It's a bug if it runs when unbundled
So if it's fine with
deno run
then you need to submit a bug reportIt does. Rendez-vous on Github 👀
Then it's a bug. You should report it
Omw (this is why I said RDV on Github, I'm creating an issue 😄 )
https://github.com/denoland/deno/issues/16390