Calling require("node:path")
was added in Node v14.18.0, but tsup adds the nodeProtocolPlugin
to the list of esbuild plugins whenever building for cjs
. I'd like to be able to build for cjs while targeting Node >= 14.18 and preserve the original node:
require path. It also seems like this is unnecessary since esbuild handles this here:
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too