I'm moving a Vue3 project from vue-cli to vite build tool. I'm extending the Pie chart in one of my components using import {Pie} from "vue3-chart-v2". Though everything works fine during development, the "vite build" command (which uses Rollup) fails with the following error :
error during build:
Error: 'Pie' is not exported by node_modules/vue3-chart-v2/src/components/BaseChart.vue, imported by node_modules/vue3-chart-v2/index.js
Hello there,
I'm moving a Vue3 project from vue-cli to vite build tool. I'm extending the Pie chart in one of my components using
import {Pie} from "vue3-chart-v2"
. Though everything works fine during development, the "vite build" command (which uses Rollup) fails with the following error :Thanks ! Michael