Quoting Jérémy Lal (2025-08-11 17:06:45) > Le ven. 8 août 2025 à 09:59, Jérémy Lal <kapo...@melix.org> a écrit : >> Le ven. 8 août 2025 à 09:35, Jonas Smedegaard <jo...@jones.dk> a écrit : >>> Quoting Jérémy Lal (2025-08-08 08:38:20) >>>> Le jeu. 7 août 2025 à 18:25, Daniel Baumann <dan...@debian.org> a écrit : >>>>> it would be nice if you could upload 22.18 to experimental, it has 'Type >>>>> stripping is enabled by default' now and would be convenient to have. >>>> >>>> Sure ! However "type stripping" needs some parts of swc, and i'm not sure >>>> debian already has them (but the good thing is that Jonas already started >>>> working on them). >>> >>> It would help if someone could identify exactly which parts of swc are >>> needed. >> >> nodejs uses "amaro", a wasm build of swc. >> It seems to include many swc features... >> I propose adding support for the default behavior of nodejs now (type >> stripping), >> and add more features later (for example, type transform is available with >> a runtime nodejs flag). >> >> Given that, the short answer is >> swc_ts_fast_strip, >> see >> >> https://github.com/nodejs/amaro/blob/main/deps/swc/bindings/binding_typescript_wasm/Cargo.toml > > A bit longer answer now that I'm trying to package amaro: > These direct b-deps are missing: > swc_error_reporters = { workspace = true } > swc_ts_fast_strip = { workspace = true, features = ["wasm-bindgen"] }
I have upgraded src:rust-swc-core to a version new enough that it includes the swc_ts_fast_strip crate, but still need to extend the packaging to cover the swc_ecma* crates that it requires. - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ * Sponsorship: https://ko-fi.com/drjones [x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: signature
-- Pkg-javascript-devel mailing list Pkg-javascript-devel@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel