We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
node:
--target
With this input:
import fs from 'node:fs'; fs.open
output by --bundle --format=esm --platform=node --target=node18
--bundle --format=esm --platform=node --target=node18
import fs from "node:fs"; fs.open;
output by --bundle --format=esm --platform=node --target=node18,es2022
--bundle --format=esm --platform=node --target=node18,es2022
import fs from "fs"; fs.open;
playground link
Activity