helper(FRAGMENT),
undefined,
renderExp,
- `${fragmentFlag} /* ${PatchFlagNames[fragmentFlag]} */`,
+ fragmentFlag +
+ (__DEV__ ? ` /* ${PatchFlagNames[fragmentFlag]} */` : ``),
undefined,
undefined,
true /* isBlock */,
helper(FRAGMENT),
keyProperty ? createObjectExpression([keyProperty]) : undefined,
node.children,
- `${PatchFlags.STABLE_FRAGMENT} /* ${
- PatchFlagNames[PatchFlags.STABLE_FRAGMENT]
- } */`,
+ PatchFlags.STABLE_FRAGMENT +
+ (__DEV__
+ ? ` /* ${PatchFlagNames[PatchFlags.STABLE_FRAGMENT]} */`
+ : ``),
undefined,
undefined,
true
helper(FRAGMENT),
createObjectExpression([keyProperty]),
children,
- `${PatchFlags.STABLE_FRAGMENT} /* ${
- PatchFlagNames[PatchFlags.STABLE_FRAGMENT]
- } */`,
+ PatchFlags.STABLE_FRAGMENT +
+ (__DEV__
+ ? ` /* ${PatchFlagNames[PatchFlags.STABLE_FRAGMENT]} */`
+ : ``),
undefined,
undefined,
true,