amebyte / vue3-vite-ts-uniapp

使用vue3 + vite + ts 创建uni-app项目工程化实践
78 stars 19 forks source link

编译器版本:3.3.12(vue3) 请注意运行模式下,因日志输出、sourcemap 以及未压缩源码等原因,性能和包体积,均不及发行模式。 正在编译中... (node:10964) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at /Users/xxxx/Desktop/code/vue3-vite-ts-uniapp/node_modules/vuex/package.json. Update this package.json to use a subpath pattern like "./*". (Use `node --trace-deprecation ...` to show where the warning was created) vite v2.8.4 building for development... [plugin:alias] Cannot find module '/Users/xxx/Desktop/code/vue3-vite-ts-uniapp/src/utils/request.js' from '/Users/xxx/Desktop/code/vue3-vite-ts-uniapp/src' #1

Open piaoxiaobo opened 2 years ago

piaoxiaobo commented 2 years ago

编译器版本:3.3.12(vue3) 请注意运行模式下,因日志输出、sourcemap 以及未压缩源码等原因,性能和包体积,均不及发行模式。 正在编译中... (node:10964) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at /Users/bianrongcheng1/Desktop/code/vue3-vite-ts-uniapp/node_modules/vuex/package.json. Update this package.json to use a subpath pattern like "./*". (Use node --trace-deprecation ... to show where the warning was created) vite v2.8.4 building for development... [plugin:alias] Cannot find module '/Users/xxxx/Desktop/code/vue3-vite-ts-uniapp/src/utils/request.js' from '/Users/bianrongcheng1/Desktop/code/vue3-vite-ts-uniapp/src'

出现这个问题怎么解决,h5没问题,app和mp有问题

amebyte commented 2 years ago

我只测试过小程序和H5端,其他端的估计还是有问题的