]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: correct the issue number (#11715) [ci skip]
authoredison <daiwei521@126.com>
Mon, 26 Aug 2024 10:08:46 +0000 (18:08 +0800)
committerGitHub <noreply@github.com>
Mon, 26 Aug 2024 10:08:46 +0000 (18:08 +0800)
packages/runtime-core/src/apiDefineComponent.ts

index 0dde68f888ccac02fb71a1f21c1f0cf456ce4efa..760689eeb2e60e71ecd021289ed741275937c390 100644 (file)
@@ -297,7 +297,7 @@ export function defineComponent(
   extraOptions?: ComponentOptions,
 ) {
   return isFunction(options)
-    ? // #8326: extend call and options.name access are considered side-effects
+    ? // #8236: extend call and options.name access are considered side-effects
       // by Rollup, so we have to wrap it in a pure-annotated IIFE.
       /*#__PURE__*/ (() =>
         extend({ name: options.name }, extraOptions, { setup: options }))()