タグ

2024年3月19日のブックマーク (1件)

  • require(esm) in Node.js

    Recently I landed experimental support for require()-ing synchronous ES modules in Node.js, a feature that has been long overdue. In the pull request, I commented with my understanding about why it did not happen sooner before this pull request in 2024. This post expands on that comment a bit more. The opinions in this post are my own and reflect my perception of the ESM development in Node.js as

    yosuke_furukawa
    yosuke_furukawa 2024/03/19
    この話はむちゃくちゃ面白かった。俺達は長らくESMは非同期だからrequireでは解決できないと思い込みすぎてた。それが何故なのかが書いてある。ワーキンググループ内で全員がそう思い込むとその外側から介入ができない