Skip to content

node: prefix stripped unexpected under multiple --target options #3821

Closed
@imcotton

Description

With this input:

import fs from 'node:fs';

fs.open

output by --bundle --format=esm --platform=node --target=node18

import fs from "node:fs";
fs.open;

output by --bundle --format=esm --platform=node --target=node18,es2022

import fs from "fs";
fs.open;

playground link

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions