variable hasEsmimport { hasEsm } from "https://deno.land/x/polkadot@0.2.19/util/has.ts"; true if the environment is ESM