Skip to content

Uncaught ReferenceError: exports is not defined #2

Description

@mogadanez

Sample work with sample worker,
but when I add any import in my worker code, it starts failed with

Uncaught ReferenceError: exports is not defined

I also see
Object.defineProperty(exports, "__esModule", { value: true });
in generated code

Activity

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

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