-
Notifications
You must be signed in to change notification settings - Fork 149
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
Using icons in the vite project will result in an error #1056
Comments
Hello @joker77877. We totally like your proposal/feedback, welcome to send us a Pull Request for it. provide changelog/documentation/test cases if needed and make sure CI passed, we will review it soon. We appreciate your effort in advance and looking forward to your contribution! 你好 @joker77877,我们完全同意你的提议/反馈,欢迎直接在此仓库 创建一个 Pull Request 来解决这个问题。提供改动所需相应的 changelog、测试用例、文档等,并确保 CI 通过,我们会尽快进行 Review,提前感谢和期待您的贡献。 |
看上去只是一个警告,会影响项目运行吗? |
不会但是为什么呢,一大串报错挺强迫症的 |
嗯,我看看处理一下 |
需要 babel-plugin-inline-react-svg 这个 plugin 修复,可以关注一下这个 Issue: airbnb/babel-plugin-inline-react-svg#126 |
这个问题在 plugin 由于编译的问题,短时间不易处理。在调方倒是比较好处理,可以通过 hoc 的抹掉 defaultProps
|
What happens?
Using icons in the vite project will result in an error.
How To Reproduce
Steps to reproduce the behavior: 1. 2.
Expected behavior 1. 2.
Context
The text was updated successfully, but these errors were encountered: