3 ms·
Not all WASM files are in the same ballpark. This one is 500K while esbuild is almost 10MB. https://cdn.jsdelivr.net/npm/shiki@0.14.1/dist/ https://cdn.jsdeliv
by benatkin 4y ago
Not all WASM files are in the same ballpark. This one is 500K while esbuild is almost 10MB.
https://cdn.jsdelivr.net/npm/shiki@0.14.1/dist/ https://cdn.jsdelivr.net/npm/shiki@0.14.1/dist/
https://cdn.jsdelivr.net/npm/esbuild-wasm/ https://cdn.jsdelivr.net/npm/esbuild-wasm/
That's no knock on esbuild. esbuild benefits from having been built with golang and wasn't designed to be run in the browser. (tinygo can run go in much smaller but you give up some of golang's power)
WASM is fast becoming a standard thing.