zh-lx / code-inspector

Click the dom on the page, it will open your IDE and position the cursor to the source code location of the dom.
https://inspector.fe-dev.cn/en
MIT License
1.51k stars 113 forks source link

uniapp编译成支付宝报错globalThis is not defined #164

Closed MuYi086 closed 1 month ago

MuYi086 commented 1 month ago

插件版本

v0.13.0

Bug 描述

使用uniapp cli 安装最新的模版,初始项目第一次编译成功,引入code-inspector-plugin后,再次编译报错

1715323624597

系统

windows11(未使用 wsl 虚拟机)

你使用的打包器及版本

webpack

你使用的 web 框架

uniapp + vue "node-polyfill-webpack-plugin": "^2.0.1", "@dcloudio/webpack-uni-mp-loader": "2.0.2-4010520240507001", "@dcloudio/webpack-uni-pages-loader": "2.0.2-4010520240507001", "@dcloudio/uni-mp-alipay": "2.0.2-4010520240507001", "@vue/cli-plugin-babel": "~5.0.0", "@vue/cli-service": "~5.0.0",

uni-app 2.0.2-4010520240507001 vue >= 2.6.14 < 2.7

自检信息

zh-lx commented 1 month ago

感谢反馈,目前不支持在小程序中使用。duplicated with #69