Re:Node Modules at War: Why CommonJS and ES Modules Can’t Ge...
by wildpeaks on Thursday August 06, 2020 @09:30AM
(#24070695)
Honestly, all I need is a standardized way to publish and consume packages directly as Typescript (right now you can point "main" & "types to it, but I'd rather something like export maps) because the transpilation should be done by the end user as you can't assume which build target they might prefer.
[ Parent
| on HN ]
Re:Node Modules at War: Why CommonJS and ES Modules Can’t Ge...
by Androider on Thursday August 06, 2020 @05:18PM
(#24075569)
Typescript transpilation is already pretty slow when just used for your own application, if all the node_modules directory entries were in TS I'd probably be looking at hours for the transpilation.