6 ms·
That is how this works. > tsbro solves this by completely bypassing the browser's import system using synchronous XHR, transpile with swc wasm and a sophistica
by carl_dr 1y ago
That is how this works.
> tsbro solves this by completely bypassing the browser's import system using synchronous XHR, transpile with swc wasm and a sophisticated ESM-to-CJS transpiler so that synchronous require is used everywhere:
- Tade0 1y agoYes, but it's doing all that locally. When I ran the code it downloaded a 5MB file, namely https://esm.sh/@swc/wasm-web@1.13.2/wasm_bg.wasm https://esm.sh/@swc/wasm-web@1.13.2/wasm_bg.wasm. It's also not using a service worker.