Skip to content

[tsdown] Client bundle exports not accessible in FiveM #13

Description

@jonahmr1

Problem: Client-side exports are not accessible when using format: 'iife'. The bundle doesn't expose named exports to the global exports object that FiveM relies on.

Expected: Client bundle should output named exports to global exports object.

Workaround: Using format: 'cjs' instead works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions