Working on SPF (standard provider fakes), we need to import edgespec in seam-connect which is a CommonJS project.
Unfortunately, edgespec's build is currently ES only which means it can not be imported synchronously from a CJS project.
Importing it asynchronously is not a good option here as it causes other issues down the line.
Context
Working on SPF (standard provider fakes), we need to import edgespec in seam-connect which is a CommonJS project. Unfortunately, edgespec's build is currently ES only which means it can not be imported synchronously from a CJS project. Importing it asynchronously is not a good option here as it causes other issues down the line.
This partially reverts https://github.com/seamapi/edgespec/pull/138
Changes
tsup
! Risk
The original PR by Max was to resolve some kind of type issue but I could not reproduce it myself