我创建了一个空的vue3+vite应用, npm run dev一切正常。npm run build的时候报错如下:
test@0.0.0 type-check
vue-tsc --noEmit
node_modules/vue-cropper/lib/index.ts:1:24 - error TS7016: Could not find a declaration file for module './vue-cropper.vue'. 'E:/test/node_modules/vue-cropper/lib/vue-cropper.vue.js' implicitly has an 'any' type.
1 import VueCropper from './vue-cropper.vue'
Found 1 error in node_modules/vue-cropper/lib/index.ts:1
我创建了一个空的vue3+vite应用, npm run dev一切正常。npm run build的时候报错如下: