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

只在生产环境报“isFunction is not a function” #822

Open
1 task
eee555 opened this issue Jan 8, 2025 · 0 comments
Open
1 task

只在生产环境报“isFunction is not a function” #822

eee555 opened this issue Jan 8, 2025 · 0 comments

Comments

@eee555
Copy link

eee555 commented Jan 8, 2025

请确认

  • 我可以确认这个问题无法在 ECharts 项目本身中复现。

您是如何将 Vue-ECharts 引入项目的?

通过 ES 模块 import

版本信息

[email protected] F:\GitHub\saolei_website\front_end
├─┬ @chenfengyuan/[email protected]
│ └── [email protected] deduped
├─┬ @element-plus/[email protected]
│ └── [email protected] deduped
├─┬ @vitejs/[email protected]
│ └── [email protected] deduped
├─┬ @vueuse/[email protected]
│ └─┬ [email protected]
│   └── [email protected] deduped
├─┬ [email protected]
│ └── [email protected] deduped
├─┬ [email protected]
│ └── [email protected] deduped
├─┬ [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected] deduped
│ └── [email protected] deduped
├─┬ [email protected]
│ └── [email protected] deduped
├─┬ [email protected]
│ └── [email protected] deduped
└─┬ [email protected]
  └─┬ @vue/[email protected]
    └── [email protected] deduped

问题详情

这里提issue的要求也太高了。虽然不能确定ECharts中是否存在,但接下来会改为echarts来确认这一点,先记录一下。
此处,在开发环境(vite)完全正常,但是在生产环境(vite build)报“isFunction is not a function”。修改vite版本4、5、6都没用,关闭混淆也没用。只有屏蔽此处有用。项目其他地方没有使用echarts。ts+vue3+vite。

问题复现

eee555/saolei_website@d1dba93

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