proyecto26 / ion-phaser

A web component to use Phaser Framework with Angular, React, Vue, etc 🎮
https://market.ionicframework.com/plugins/ionphaser
MIT License
251 stars 39 forks source link

ion-phaser dist appears to bundle Phaser #18

Closed JingYenLoh closed 3 years ago

JingYenLoh commented 4 years ago

core/dist/esm-es5/ion-phaser.entry.js appears to bundle Phaser in, although #7 reports a much smaller bundle size.

jdnichollsc commented 4 years ago

The bundle size doesn't include Phaser: https://bundlephobia.com/result?p=@ion-phaser/core@1.2.3

JingYenLoh commented 4 years ago

Yes, I've seen that link, but looking at the file it doesn't seem that way.

I've created a minimal repro in React. This is the map it generates.

image

jdnichollsc commented 4 years ago

You're right, let me investigate 👍 https://unpkg.com/@ion-phaser/core@1.2.3/dist/esm-es5/ion-phaser.entry.js

jdnichollsc commented 3 years ago

I'm going to try with the last version of StencilJS, please stay tuned :)

alcaitiff commented 3 years ago

Nothing until now?

jdnichollsc commented 3 years ago

Let me try using last version of StencilJS :)

jdnichollsc commented 3 years ago

Hello folks, Do you know any good npm package to analyze bundle size locally?

jdnichollsc commented 3 years ago

Please let me know if the issue persist, thanks!