feat(compiler-core): add comments parser option (#1858)
This commit is contained in:
committed by
GitHub
parent
823a2bc563
commit
62b9d02f6f
@@ -49,6 +49,10 @@ export interface ParserOptions {
|
||||
*/
|
||||
decodeEntities?: (rawText: string, asAttr: boolean) => string
|
||||
onError?: (error: CompilerError) => void
|
||||
/**
|
||||
* Keep comments in the templates AST, even in production
|
||||
*/
|
||||
comments?: boolean
|
||||
}
|
||||
|
||||
export type HoistTransform = (
|
||||
|
||||
Reference in New Issue
Block a user