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

"unsupported import attribute" error should show _where_ it's used #27983

Open
nicolo-ribaudo opened this issue Feb 5, 2025 · 0 comments
Open

Comments

@nicolo-ribaudo
Copy link

Version: Deno 2.1.7

When running a module that contains

import "./mod.js" with { BABEL_8_BREAKING: "false" };

Deno only reports

error: Uncaught TypeError: "BABEL_8_BREAKING" attribute is not supported.

It should at least tell me in which file I'm using the unsupported attribute, and if possible actually point me to the right line/column number.

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