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

note that js file needs to be change to use it with npm require #6

Open
default-student opened this issue Jan 16, 2024 · 0 comments
Open

Comments

@default-student
Copy link

ERROR in external "https://cdn.skypack.dev/delaunator@5.0.0"
The target environment doesn't support dynamic import() syntax so it's not possible to use external type
'module' within a script

fixed by:
// In NPM
import Delaunator from 'delaunator';
// In JS
// import Delaunator from 'https://cdn.skypack.dev/delaunator@5.0.0';
from
Homography.js

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