From 9c9ef609d82ef8c2c0c80050c71ccad11aea72cd Mon Sep 17 00:00:00 2001 From: Evan You Date: Fri, 4 Oct 2019 22:47:09 -0400 Subject: [PATCH] fix: import patchFlags from @vue/shared in compiler instead Otherwise this imports unnecessary stuff from the runtime. --- packages/compiler-core/src/transforms/hoistStatic.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/compiler-core/src/transforms/hoistStatic.ts b/packages/compiler-core/src/transforms/hoistStatic.ts index a4371fdb..8c6bd5b7 100644 --- a/packages/compiler-core/src/transforms/hoistStatic.ts +++ b/packages/compiler-core/src/transforms/hoistStatic.ts @@ -9,7 +9,7 @@ import { import { TransformContext } from '../transform' import { APPLY_DIRECTIVES } from '../runtimeConstants' import { PropsExpression } from './transformElement' -import { PatchFlags } from '@vue/runtime-dom' +import { PatchFlags } from '@vue/shared' export function hoistStatic(root: RootNode, context: TransformContext) { walk(root.children, context, new Map())