News for hackers. Stuff that matters.
Re:CanvasKit – Skia and WebAssembly by pier25 on Friday July 19, 2019 @01:16PM (#20480559)
The NPM package doesn't list any dependencies:

https://github.com/google/skia/blob/master/modules/canvaskit...

I'm not saying you are wrong, but if the NPM package needed more stuff it would be in the package.json, no?

Re:CanvasKit – Skia and WebAssembly by kllrnohj on Friday July 19, 2019 @01:35PM (#20480752)
I'm more saying bundlephobia.com is wrong in that it doesn't appear to be including .wasm files at all.

If you just do an npm install of canvaskit-wasm you'll find a 6.4M canvaskit.wasm file. That'd have to be some insane gzip magic to bring that down to 50Kb.

If I gzip the entire canvaskit module (including the font files) I'm getting a size of 3.4M. If I just gzip the .wasm file I get a size of 2.4M.

Re:CanvasKit – Skia and WebAssembly by pier25 on Sunday July 21, 2019 @01:47PM (#20492582)
Thanks for checking that out. You are right of course.