Open mattiamalonni opened 2 years ago
It's definitely not useless, since Electron still doesn't support ES modules.
It's not useless, Node's support of ES modules is a train wreck. Interoperability of code shared between node and browser is super fragile. This repo would be a good workaround if they would update it.
Strongly still need it, especially you have import and require in the same files ...
Looks like this repo becomes useless, since Node 16 LTS supports ES modules by default.