toggle
toggle copied to clipboard
VitePress warning about package not written in CJS
I am using this package in a VitePress setup i have and during build time I am alerted to this warning:
@vueform/toggle 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
It does not seem to be breaking anything but just wanted to point it out incase this is a fix that should take place.
This is now breaking in the latest version of VitePress which now uses Vite 3
Feel free to reopen with a reproducible example if still relevant.