mirror of
				https://github.com/vuejs/babel-plugin-jsx.git
				synced 2025-10-31 17:32:32 +08:00 
			
		
		
		
	chore: update
This commit is contained in:
		| @@ -323,7 +323,9 @@ export const isConstant = ( | ||||
|       isConstant((property as any).value) | ||||
|     ); | ||||
|   } | ||||
|   if (!t.isTemplateLiteral(node) && t.isLiteral(node)) { | ||||
|   if ( | ||||
|     t.isTemplateLiteral(node) ? !node.expressions.length : t.isLiteral(node) | ||||
|   ) { | ||||
|     return true; | ||||
|   } | ||||
|   return false; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user