Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在vite打包下[global]变量使用报错 #995

Open
Hmap-Mr opened this issue Aug 1, 2022 · 0 comments
Open

在vite打包下[global]变量使用报错 #995

Hmap-Mr opened this issue Aug 1, 2022 · 0 comments

Comments

@Hmap-Mr
Copy link

Hmap-Mr commented Aug 1, 2022

[BUG 反馈] 在vite打包下[global]变量使用报错

浏览器版本号

Chrome 103.0.5060.114

Vue 版本号

2.7

组件库版本号

0.21.22

现象描述

在vite打包下global使用报错, 希望可以声明一下解决

完整异常信息

[在线示例]图片

在线示例 / 仓库 URL

imageimage

复现用例

vue2.7 + vite

预期输出

global正常声明引用

实际输出

global无声明引用
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant