fix(compiler): export COMMENT instead EMPTY runtime helper

This commit is contained in:
Evan You
2019-10-11 10:47:59 -04:00
parent a84490858f
commit 9ad7ae479e
3 changed files with 4 additions and 5 deletions

View File

@@ -21,7 +21,7 @@ import { SuspenseBoundary } from './suspense'
export const Fragment = __DEV__ ? Symbol('Fragment') : Symbol()
export const Text = __DEV__ ? Symbol('Text') : Symbol()
export const Comment = __DEV__ ? Symbol('Empty') : Symbol()
export const Comment = __DEV__ ? Symbol('Comment') : Symbol()
export const Portal = __DEV__ ? Symbol('Portal') : Symbol()
export const Suspense = __DEV__ ? Symbol('Suspense') : Symbol()