jsdelivr / jsdelivr

A free, fast, and reliable Open Source CDN for npm, GitHub, Javascript, and ESM

Home Page:https://www.jsdelivr.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

esm.run fails to bundle `pixi-filters` but esm.sh works

plurry opened this issue · comments

Description

v5.x of pixi-filters works fine with esm.run, but v6.x throws "Failed to bundle using Rollup" and asks you to open an issue here. I had opened an issue with Pixi (pixijs/filters#451) at first, but I think it's a problem with jsDelivr because using esm.sh works fine.

Affected jsDelivr links

https://esm.run/pixi-filters@6
https://esm.sh/pixi-filters@6

Response headers

Information

Requisites

  • I performed a cursory search of the issue tracker to avoid opening a duplicate issue.
  • I checked the documentation to understand that the issue I am reporting is not normal behavior.
  • I understand that not filling out this template correctly will lead to the issue being closed.

Additional content

The complicated bug report template didn't make me a bit more diligent and almost made me not bother reporting it at all.

Actually, it looks like even though pixi-filters on esm.sh bundles fine, it doesn't work when you try to use it.

And it turns out even the main Pixi module on both esm.run and esm.sh fail silently on pixi.js@8 even though pixi.js@7 is fine, so I'm back to blaming something in Pixi's ESM build config.

Actually Skypack works fine.

See pixijs/pixijs#10446.