Skip to content

codegen: __NO_SIDE_EFFECTS__ in vue.runtime.global.js #4843

@Boshen

Description

@Boshen

https://github.com/oxc-project/monitor-oxc/actions/runs/10348693681/job/28641537073 discovered a problem:

Codegen
"node_modules/.pnpm/vue@3.4.3[7](https://github.com/oxc-project/monitor-oxc/actions/runs/10348693681/job/28641537073#step:8:8)_typescript@5.5.4/node_modules/vue/dist/vue.runtime.global.js"
-	const defineSSRCustomElement = /* @__NO_SIDE_EFFECTS__ */ (options, extraOptions) => {
+	const defineSSRCustomElement = /*! #__NO_SIDE_EFFECTS__ */ /* @__NO_SIDE_EFFECTS__ */ (options, extraOptions) => {

I'm not sure the intention of https://github.com/vuejs/core/blob/5238e5a9dedbd295bc1fd61e78c33a05bec2b977/packages/runtime-dom/src/apiCustomElement.ts#L187

Metadata

Metadata

Labels

C-bugCategory - Bug

Type

No type

Priority

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions