vlados
vlados
NNuxt
Created by vlados on 7/25/2024 in #❓・help
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
1 replies