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

When trying to import get no export "SourceMapConsumer" #2

Open
base698 opened this issue May 13, 2022 · 1 comment
Open

When trying to import get no export "SourceMapConsumer" #2

base698 opened this issue May 13, 2022 · 1 comment

Comments

@base698
Copy link

base698 commented May 13, 2022

error: Uncaught SyntaxError: The requested module './deps.ts' does not provide an export named 'SourceMapConsumer'
import { SourceMapConsumer, SourceMapGenerator } from "./deps.ts";
^

@oscarotero
Copy link
Member

How are you importing this?
Take a look to how is being imported in Lume: https://github.com/lumeland/lume/blob/master/deps/terser.ts

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