codec-parser
codec-parser copied to clipboard
`getFrame` is undefined
Hey 👋 Thanks for this great package, and all the others 😄
I'm trying to parse some MP3 files in the browser and getting this error:
Could this be a bundler issue, or something else? Bundler used: https://rsbuild.dev/
EDIT: Does work with vite, don't know why rsbuild falls over this 🤔
Hey, thanks for posting the issue.
I'm not sure why this would fail either. My guess is that it's a minifier bug where the getFrame variable is being improperly renamed. It might be the object destructuring happening here that's being minified improperly.
I'd need to trace through the minified build to see where this reference is getting lost to really find out.