Skip to content

regeneratorRuntime is not defined #684

@poteirard

Description

@poteirard

Hello,

I have some libraries that are meant to be used in node and web environments.

I run tsdx build, then in the consumer of the library I run tsc and then node dist/index.js then I get an error:

ReferenceError: regeneratorRuntime is not defined
[server]     at Object.<anonymous> (/Users/.../node_modules/myPakcage/random-lib/dist/random-lib.cjs.development.js:214:28)

Am I missing something?

Thank you!

tsdx -v 0.13.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind: supportAsking for support with something or a specific use caseproblem: removed issue templateOP removed the issue template without good causesolution: duplicateThis issue or pull request already existssolution: workaround availableThere is a workaround available for this issue

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions