Hacker News new | past | comments | ask | show | jobs | submit login

I agree that the migration experience has been subpar! I dropped ESM migration of my packages 2-3 times before finally picking it up again and wrapping it up in a simple guide. Hopefully with the config I shared you’ll find that you can use all those out-of-reach ESM packages now! Also, I provided examples for getting __dirname and __filename -like behavior.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: