Hi, thanks for the great library.
Is it possible to use it only with Node JS?
I try to import like this:
import Plot from '@observablehq/plot'
But the error is:
Error [ERR_REQUIRE_ESM]: require() of ES Module [...] not supported.
Instead change the require of [...] to a dynamic import() which is available in all CommonJS modules.
Why is normal import not working?
Hi, thanks for the great library.
Is it possible to use it only with Node JS?
I try to import like this:
import Plot from '@observablehq/plot'But the error is:
Why is normal import not working?