N
Nuxt5mo ago
vlados

vite-plugin-istanbul

Hello everyone I'm trying to include "vite-istanbul" plugin in my project for test coverage on Gitlab However I faced an issue : "Failed to resolve "vite-plugin-istanbul". This package is ESM only" According to official Vite documentation it suggested use these options: -adding "type": "module" to the nearest package.json -renaming vite.config.js/vite.config.ts to vite.config.mjs/vite.config.mts However it looks pretty strange and perhaps there might be some workaround My Project Vue3 + Vite + vitest Thanks an advance for any help
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server