ericclemmons/polydev

Support esm

ericclemmons opened this issue · 4 comments

https://github.com/standard-things/esm can be supported via polydev -r esm (as if we were running Node), or perhaps via NODE_OPTIONS.

This can work just as it does in #7 .

Noticed that https://github.com/sidorares/hot-module-replacement doesn't work with:

NODE_OPTIONS="--require esm" polydev

Hate to be pedantic or naive here but... what if people just used TypeScript (#7)? 🤔