Open sonicsunsky opened 3 years ago
使用path-browserify之后还是会报错process is not defined, ReferenceError: process is not defined, 应该是path-browserify里的resolve方法中还是用到了一个process.cwd()的方法,导致报错
为什么在vite2.x中的vue3文件中无法使用path模块,在之前的vue-cli环境下就可以正常使用path不报错?
Please try to provide more useful info for us before asking, thanks.
使用path-browserify之后还是会报错process is not defined, ReferenceError: process is not defined, 应该是path-browserify里的resolve方法中还是用到了一个process.cwd()的方法,导致报错