When using this package with Vite, I'm getting the following error:
@justinribeiro/lite-youtube doesn't appear to be written in CJS, but also doesn't appear to be a valid ES module (i.e. it doesn't have "type": "module" or an .mjs extension for the entry point). Please contact the package author to fix.
When using this package with Vite, I'm getting the following error:
See source
Given the package is built as an ES module, I'm suggesting adding
"type": "module"
to package.json