Skip to content

Not compatable with iife due to top-level awaits #145

@douglasg14b

Description

@douglasg14b

I'm trying to use this package in a userscript , but cannot because it's not compatable with IIFE.

Even with the necessary vite plugins.

error during build:
Module format "iife" does not support top-level await. Use the "es" or "system" output formats rather.

Metadata

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