-
Notifications
You must be signed in to change notification settings - Fork 7.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The jsDeliver's [email protected]/+esm
link doesn't work
#6840
Comments
3 tasks
jsDelivr is taking a perfectly valid ESM module and then running it through Rollup and Terser again. For reasons best known only to them. I assume it's screwing-up Phaser in the process. Maybe this works on some projects, but I doubt it will on Phaser until we move to being a purely ESM based library. |
You can use https://cdn.jsdelivr.net/npm/[email protected]/dist/phaser.esm.js etc. instead. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't know is it an issue of jsDeliver or Phaser. I have created both. The jsDeliver's issue: jsdelivr/jsdelivr#18585
This link doesn't work: https://cdn.jsdelivr.net/npm/[email protected]/+esm Try to run the example below.
Playground: https://plnkr.co/edit/MCZZM4MzkMSkFf4V?preview
index.html
index.js
The text was updated successfully, but these errors were encountered: