Open Sun-ZhenXing opened 1 month ago
Hello,
I also encountered this issue during development. Sadly I haven't found a way to fix this issue. This module currently does not work at all. The only way to make it work is by directly adding it to your project.
By creating a brand new Nuxt project, I found that the example doesn't work:
Run this:
I run this project with
pnpm
and have no problems.Using the
.npmrc
file has no effect.This should be caused by vite not optimizing the modules for CommonJS, however there are too many CJS modules in the project.