Closed 8Observer8 closed 2 months ago
There's no need to use Skypack with Phaser. We distribute Phaser ready-built and ready-bundled for browsers. There's simply no need to have a 3rd party build or minify it (which it clearly can't do correctly, probably because our entry point is our dist file, not an ES Module, which it appears it requires).
I don't know is it an issue of Phaser or Skypack. I have created both. Skypack issue: https://github.com/skypackjs/skypack-cdn/issues/371
The following link doesn't work: https://cdn.skypack.dev/phaser@3.80.1
For example,
Pixi.js 8
and@box2D/core
can be loaded from Skypack: https://plnkr.co/edit/1RizUv5yknLrb9w4index.js
Playground for Phaser: https://plnkr.co/edit/3Vv3dfYhskSvlz52?preview
index.js