Sfoglia il codice sorgente

chore: revert debugging dev flag

Evan You 6 anni fa
parent
commit
4046f0bc03
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      packages/runtime-core/src/vnode.ts

+ 1 - 1
packages/runtime-core/src/vnode.ts

@@ -236,7 +236,7 @@ const createVNodeWithArgsTransform = (
 
 export const InternalObjectSymbol = Symbol()
 
-export const createVNode = (false
+export const createVNode = (__DEV__
   ? createVNodeWithArgsTransform
   : _createVNode) as typeof _createVNode