qwik icon indicating copy to clipboard operation
qwik copied to clipboard

qwik: core runtime size increase

Open zanettin opened this issue 3 years ago • 2 comments

Qwik Version

0.12.0

Operating System (or Browser)

OSX 12.6 / any browser

Node Version (if applicable)

16.13.0

Which component is affected?

Qwik Runtime

Expected Behaviour

maybe you see a way to reduce the runtime code anyhow

Actual Behaviour

qwik core runtime size measured on cloudfront pages (br compressed):

0.11.1 0.12.0
14.4kb 25.5kb

Bildschirmfoto_2022-10-28_um_22_43_09

Additional Information

No response

zanettin avatar Oct 28 '22 20:10 zanettin

Interesting! could you attach both versions? in 0.11.1 and 0.12.0, it will help me debug a lot!

manucorporat avatar Oct 28 '22 21:10 manucorporat

Hi @manucorporat Sure 👍 does not seem app related. just did these steps to create a repro:

pnpm create [email protected]
basic app
pnpm build

and

pnpm create qwik@latest
basic app
pnpm build

then you see the diff already on the vite build outputs. left screen is 0.11.1 and right 0.12.0. Bildschirmfoto 2022-10-29 um 13 29 14

hope this already helps? quickly checked if it is vite related and downgraded to 3.1.7 because other pkgs increased as well, but had the same result.

zanettin avatar Oct 29 '22 11:10 zanettin