`@fancyapps/fancybox 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.` #2650
When using Vite, the following error appears and recommends being reported...
@fancyapps/fancybox 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.
Describe the bug
When using Vite, the following error appears and recommends being reported...