vite.createFilter() 不存在的错误解决方法 - Uni-app 项目构建失败
10:08:57.666 failed to load config from D:\一企一档小程序\jchb_app\vite.config.ts\n10:08:57.670 error during build:\n10:08:57.673 TypeError: vite.createFilter is not a function\n10:08:57.677 \t at vuePlugin (D:\一企一档小程序\jchb_app\node_modules\@vitejs\plugin-vue\dist\index.cjs:2680:23)\n10:08:57.681 \t at createPluginVueInstance (D:\一企一档小程序\jchb_app\node_modules\@dcloudio\vite-plugin-uni\dist\vue\options.js:17:12)\n10:08:57.685 \t at createPlugins (D:\一企一档小程序\jchb_app\node_modules\@dcloudio\vite-plugin-uni\dist\index.js:85:55)\n10:08:57.689 \t at uniPlugin (D:\一企一档小程序\jchb_app\node_modules\@dcloudio\vite-plugin-uni\dist\index.js:49:11)\n10:08:57.693 \t at Object.
AI 优化版
原文地址:https://www.cveoy.top/t/topic/qglE 著作权归作者所有。请勿转载和采集!