wavesurfer-react icon indicating copy to clipboard operation
wavesurfer-react copied to clipboard

TS: support "moduleResolution": "bundler" compiler option

Open egorksv opened this issue 1 year ago • 2 comments

Currently, any setting except for "moduleResolution": "node" breaks the build. However, "node" is VERY legacy and breaks next.js code.

egorksv avatar May 28 '24 00:05 egorksv

Hi! Thanks for the ticket. I will investigate it, but I also have wavesurfer-react-next-example repo where wavesurfer-react is integrated. Take a look.

ShiiRochi avatar Jul 17 '24 11:07 ShiiRochi

@egorksv, I reviewed wavesurfer-react-next-example once again and find out that tsconfig there is using moduleResolution with bundler value.

It's working fine, thus I am not sure what actually happens with next.js instance in your case.

ShiiRochi avatar Jul 17 '24 17:07 ShiiRochi