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

两个preset都使用“sugar-inject-h”这个插件导致duplicate declaration h #297

Open
workkk98 opened this issue Sep 19, 2022 · 1 comment

Comments

@workkk98
Copy link

现场:

根目录babel.config.js
用户定义preset

结果:
发现插件在render函数或是其他class method里执行了两次,导致babel报错,因为声明了两个h函数。

@workkk98
Copy link
Author

现场链接:https://github.com/workkk98/pack_myself vue-jsx-demo文件夹

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