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

fix: annotation with rollup conflict (#631) #644

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

condorheroblog
Copy link

@condorheroblog condorheroblog commented Jan 16, 2024

/*#__PURE__*/ 和函数调用之间只能有空格。

代码打包导致 /*#__PURE__*/ 添加在注释的前面,不是函数调用的前面,导致在 rollup 中无效:

无效的注释

更改代码注释的位置,能够得到有效的 /*#__PURE__*/

有效的注释


2024 年 01 月 16 日 14:01:46

Copy link

vercel bot commented Jan 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
field-form ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 16, 2024 6:08am

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

Successfully merging this pull request may close these issues.

1 participant