mirror of https://github.com/vuejs/core.git
chore: correct the issue number (#11715) [ci skip]
This commit is contained in:
parent
fbc0c42bcf
commit
342657b717
|
@ -297,7 +297,7 @@ export function defineComponent(
|
||||||
extraOptions?: ComponentOptions,
|
extraOptions?: ComponentOptions,
|
||||||
) {
|
) {
|
||||||
return isFunction(options)
|
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.
|
// by Rollup, so we have to wrap it in a pure-annotated IIFE.
|
||||||
/*#__PURE__*/ (() =>
|
/*#__PURE__*/ (() =>
|
||||||
extend({ name: options.name }, extraOptions, { setup: options }))()
|
extend({ name: options.name }, extraOptions, { setup: options }))()
|
||||||
|
|
Loading…
Reference in New Issue