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 ReferenceError: Deno is not defined #125

Open
hemedani opened this issue Jul 17, 2023 · 1 comment
Open

Uncaught ReferenceError: Deno is not defined #125

hemedani opened this issue Jul 17, 2023 · 1 comment

Comments

@hemedani
Copy link

when I bundle some files it includes :

new Deno.errors.AlreadyExists("dest already exists.");

and browser does not support deno

@yacinehmito
Copy link
Contributor

Hi! Thank you for filing the issue.

As you have experienced, deno_emit is meant to be used to bundle code that will run with Deno. If you want to bundle code for the browser, I suggest you use something like esbuild, vite, turbopack, parcel (or others; there are countless options).

You can close the issue.

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

2 participants