-
Notifications
You must be signed in to change notification settings - Fork 199
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
🐛 项目运行时,@antv/[email protected] 内部报错 #3025
Comments
我在配置中将包引用强制指向了 cjs 构建产物
报错少了,但是还是报了一个错
|
你引的是 umd, 不要为了不报错乱搞... esm 编译的 target 是 ESNext, 所以没处理 这个我优化下, 把构建产物编译到 es2015 好了 |
🎉 This issue has been resolved in version @antv/s2-v2.1.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This issue has been resolved in version @antv/s2-vue-v2.0.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This issue has been resolved in version @antv/s2-react-v2.1.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This issue has been resolved in version @antv/s2-react-components-v2.1.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🏷 Version
Sheet Type
🖋 Description
项目环境:umi3.0 + React 17
之前使用 1.0 版本,没有报错,最近想升级一下 2.0 版本,处理了一些兼容报错问题,但是项目运行后 @antv/s2-react 内部报错了,然后 尝试直接从 dist 引入也是一样报错,报错截图如下,是打包工具太老了需要升级吗
⌨️ Code Snapshots
🔗 Reproduce Link
🤔 Steps to Reproduce
😊 Expected Behavior
😅 Current Behavior
💻 System information
The text was updated successfully, but these errors were encountered: