We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Classes in the bundle served by esm.sh are missing a method because a module import side effect isn't applied.
Correct JSDelivr ESM import:
(await import("https://cdn.jsdelivr.net/npm/@observablehq/plot@0.6.13/+esm")).Mark.prototype.plot
esm.sh import with missing method:
(await import("https://esm.sh/@observablehq/plot@0.6.13")).Mark.prototype.plot
The library mutates the prototype as a side effect in one of its core modules: https://github.com/observablehq/plot/blob/28c7ebc55a4fd78b4ef264f658ce9109c7c94eaa/src/plot.js#L375
es2015
es2022
esnext
The text was updated successfully, but these errors were encountered:
9ec4914
No branches or pull requests
Failing module
Error
Classes in the bundle served by esm.sh are missing a method because a module import side effect isn't applied.
Correct JSDelivr ESM import:
esm.sh import with missing method:
The library mutates the prototype as a side effect in one of its core modules:
https://github.com/observablehq/plot/blob/28c7ebc55a4fd78b4ef264f658ce9109c7c94eaa/src/plot.js#L375
Additional info
es2015
,es2022
,esnext
The text was updated successfully, but these errors were encountered: