Skip to content
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

Uncaught SyntaxError: Identifier 'mod' has already been declared #119

Open
JorisBlanken opened this issue May 30, 2023 · 0 comments
Open

Comments

@JorisBlanken
Copy link

JorisBlanken commented May 30, 2023

For some reason the module I'm bundling generates a duplicate const mod throwing the error Uncaught SyntaxError: Identifier 'mod' has already been declared.

The module I'm bundling is 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"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant