8000 `import.meta` is not transpiled in cjs output · Issue #370 · rolldown/tsdown · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content {"props":{"docsUrl":"https://docs.github.com/get-started/accessibility/keyboard-shortcuts"}}
import.meta is not transpiled in cjs output #370
Open
@juliusmarminge

Description

@juliusmarminge

Reproduction link or steps

https://stackblitz.com/edit/github-xis34qga?file=src%2Fconfig.ts

(Originally produced in https://socket.dev/npm/package/uploadthing/files/7.7.3/dist/upload-builder-RrqQb3by.cjs#L43)

What is expected?

import.meta usage should be transpiled to undefined in the cjs output

What is actually happening?

the reference is still there:

Image

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0