I try to update from v6 to v8 but have a problem with build and typescript when I try to use current CJS build I got [ERROR] exports is not defined https://github.com/microsoft/TypeScript/issues/32934