esm only, support node 20.6+
Closed this issue · 1 comments
isaacs commented
- get rid of cjs
--require
support. the only use case for this will be via--loader
or--import
- there still needs to be a cjs export for the ProcessInfo/ProcessInfoNode class, but that's all
- Use
--import
for node 20.6 and higher.
isaacs commented
This landed on v3.
Quite a lot more commonjs support is still required, because it needs to load from globalPreload prior to node 20.6.