feat(build): provide more specific warnings for runtime compilation

close #1004
This commit is contained in:
Evan You
2020-04-20 15:23:26 -04:00
parent 171cfa404f
commit e954ba21f0
6 changed files with 34 additions and 8 deletions

View File

@@ -1,5 +1,6 @@
// This entry is the "full-build" that includes both the runtime
// and the compiler, and supports on-the-fly compilation of the template option.
import './devCheck'
import { compile, CompilerOptions, CompilerError } from '@vue/compiler-dom'
import { registerRuntimeCompiler, RenderFunction, warn } from '@vue/runtime-dom'
import * as runtimeDom from '@vue/runtime-dom'
@@ -72,5 +73,3 @@ registerRuntimeCompiler(compileToFunction)
export { compileToFunction as compile }
export * from '@vue/runtime-dom'
import './devCheck'