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

期望产出es5的产出,然而build后的产物中有两个const #7463

Open
pagnkelly opened this issue Aug 20, 2024 · 0 comments
Open

期望产出es5的产出,然而build后的产物中有两个const #7463

pagnkelly opened this issue Aug 20, 2024 · 0 comments

Comments

@pagnkelly
Copy link

Version

5.0.8

Reproduction link

https://baidu.com/

Environment info

node20
mac

Steps to reproduce

具体是这两行
const exports = /#PURE/(0,exportHelper/* default */.A)(HelloWorldvue_type_script_lang_js, [['render',HelloWorldvue_type_template_id_b9167eee_scoped_true_render],['__scopeId',"data-v-b9167eee"]])

const App_exports_ = /#PURE/(0,exportHelper/* default */.A)(Appvue_type_script_lang_js, [['render',render]])

有关export组件或者app的内容const都没有转译,其他的const却转译了

What is expected?

期望没有const

What is actually happening?

实际上有俩const没有被babel转译

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