build: remove __BUNLDER__ flag so that HMR is available for all builds

This commit is contained in:
Evan You
2020-04-20 00:34:53 -04:00
parent fa40d1ef3a
commit 19223f5462
8 changed files with 6 additions and 14 deletions

View File

@@ -200,7 +200,6 @@ export function isVNode(value: any): value is VNode {
export function isSameVNodeType(n1: VNode, n2: VNode): boolean {
if (
__BUNDLER__ &&
__DEV__ &&
n2.shapeFlag & ShapeFlags.COMPONENT &&
(n2.type as Component).__hmrUpdated