wavesurfer-react
wavesurfer-react copied to clipboard
TS: support "moduleResolution": "bundler" compiler option
Currently, any setting except for "moduleResolution": "node" breaks the build. However, "node" is VERY legacy and breaks next.js code.
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.
@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.