Custom ESM loaders: Who, what, when, where, why, how - DEV Community

2022-07-15

https://dev.to/jakobjingleheimer/custom-esm-loaders-who-what-when-where-why-how-4i1o

Node.js で起動時のオプションでカスタムローダーを指定できるようになった。

2022/07/15 時点で Experimental な機能なので注意。
https://nodejs.org/api/esm.html#loaders

Try them out with today's v18.6.0 release of Node.js!

V18.6.0 から使えるとのこと。

この Issue の行方を見守ってるけど、どう着地するのか気になってる。
https://github.com/microsoft/TypeScript/issues/37582

Source: https://nodeweekly.com/issues/446