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

The import syntax improvement #103

Open
jcubic opened this issue Oct 6, 2024 · 0 comments
Open

The import syntax improvement #103

jcubic opened this issue Oct 6, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jcubic
Copy link
Owner

jcubic commented Oct 6, 2024

This syntax is not doing what it's say it's doing:

import figlet from "https://cdn.jsdelivr.net/npm/figlet/lib/figlet.js"

it loads UMD file and expose figlet, you can't change the import name like in JavaScript.

There is a need for better API

@jcubic jcubic added the enhancement New feature or request label Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant