Open JorisBlanken opened 1 year ago
For some reason the module I'm bundling generates a duplicate const mod throwing the error Uncaught SyntaxError: Identifier 'mod' has already been declared.
const mod
Uncaught SyntaxError: Identifier 'mod' has already been declared
The module I'm bundling is https://esm.sh/@react-three/drei@9.70.0:
https://esm.sh/@react-three/drei@9.70.0
import { bundle } from 'https://deno.land/x/emit@0.22.0/mod.ts'; const { code } = await bundle(new URL("https://esm.sh/@react-three/drei@9.70.0"));
For some reason the module I'm bundling generates a duplicate
const mod
throwing the errorUncaught SyntaxError: Identifier 'mod' has already been declared
.The module I'm bundling is
https://esm.sh/@react-three/drei@9.70.0
: