Yulong(Joseph) Fang

Results 2 comments of Yulong(Joseph) Fang

https://vitejs.dev/guide/troubleshooting.html#this-package-is-esm-only CJS 是因为当年 ECMA 不支持模块,社区搞出来的妥协产物,ESM 在 ES2015 中就规范化了,现在都 2024 年了,基本找不见几个只支持 CJS 的库了,新的库甚至清一色 ESM,直接就不支持 CJS,uni-app 是 Vue 生态的工具,Vue/Vite 全系都是 ESM 了,uni-app 什么时候能跟进?