When trying to import GumletPlayer from @gumlet/react-embed-player in a ScandiPWA 6.2.1 project with TypeScript, I encounter a compilation error.
Error Message:
Failed to compile.
./node_modules/@gumlet/react-embed-player/dist/index.mjs
Can't import the named export 'forwardRef' from non EcmaScript module (only default export is available)
Expected Behavior:
The GumletPlayer component should import successfully and work within the ScandiPWA application, maintaining TypeScript type safety.
Actual Behavior:
Webpack compilation fails with the error about unable to import named exports from non-ECMAScript module, specifically related to forwardRef.