jaredpalmer / tsdx

Zero-config CLI for TypeScript package development
https://tsdx.io
MIT License
11.2k stars 505 forks source link

"Strict-mode does not allow assignment to undefined variables: regeneratorRuntime" #1071

Open rochapablo opened 2 years ago

rochapablo commented 2 years ago

Current Behavior

After minify, I get the following error

Strict-mode does not allow assignment to undefined variables: regeneratorRuntime

https://stackoverflow.com/questions/68801520

Expected behavior

Suggested solution(s)

Additional context

Your environment

  System:
    OS: macOS 11.5
    CPU: (8) arm64 Apple M1
    Memory: 90.86 MB / 8.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 15.12.0 - ~/.nvm/versions/node/v15.12.0/bin/node
    npm: 7.6.3 - ~/.nvm/versions/node/v15.12.0/bin/npm
    Watchman: 4.9.0 - /opt/homebrew/bin/watchman
  Browsers:
    Chrome: 92.0.4515.131
    Firefox: 91.0
    Safari: 14.1.2
  npmPackages:
    tsdx: ^0.14.1 => 0.14.1
    typescript: ^4.3.5 => 4.3.5