bundlejs with "cdn": "https://unpkg.com", config (link)
fetches the cjs entry Fetch https://unpkg.com/adaptive-set@0.1.2/dist/index.js (501 B (gzip)).
bundlejs with "cdn": "https://esm.sh", config (link)
fetches the correct esm entry Fetch https://esm.sh/v135/adaptive-set@0.1.2/es2022/adaptive-set.mjs (203 B (gzip)).
Anthor bug. It seems like the badge result generated by custom config does not work. It always points to the reuslt generated by the default config. (501 B (gzip))
Here is an simple example package adaptive-set. It exports both cjs and esm.
"cdn": "https://unpkg.com",
config (link) fetches the cjs entryFetch https://unpkg.com/adaptive-set@0.1.2/dist/index.js
(501 B (gzip)).bundlejs with
"cdn": "https://esm.sh",
config (link) fetches the correct esm entryFetch https://esm.sh/v135/adaptive-set@0.1.2/es2022/adaptive-set.mjs
(203 B (gzip)).Anthor bug. It seems like the badge result generated by custom config does not work. It always points to the reuslt generated by the default config. (501 B (gzip))
deno.bundlejs.com/badge?q=adaptive-set&treeshake=[*]&config={"cdn":"https://esm.sh"}