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

(!) Unresolved dependencies node:url (imported by node_modules/truncate-url/index.js) #8

Closed
philwilliammee opened this issue Jul 12, 2021 · 1 comment

Comments

@philwilliammee
Copy link

Using Rollup it gives a warning.

(!) Missing global variable name
Use output.globals to specify browser global variable names corresponding to external modules
node:url (guessing 'url') 

shouldn't this be import * as nodeUrl from "url";

@sindresorhus
Copy link
Owner

Open an issue on Rollup. node:url is a valid import.

nodejs/node#38343

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