mirror of
				https://github.com/Tencent/tmagic-editor.git
				synced 2025-11-04 10:49:51 +08:00 
			
		
		
		
	feat(cli): 文件声明“不合法”修改为“缺失”
This commit is contained in:
		
							parent
							
								
									958bcd3ec5
								
							
						
					
					
						commit
						6c5cc55f31
					
				@ -339,10 +339,10 @@ const parseEntry = function ({ ast, package: module, indexPath }: ParseEntryOpti
 | 
			
		||||
  const { importComponentSource, importComponentToken, exportDefaultToken } = tokens;
 | 
			
		||||
 | 
			
		||||
  if (!config) {
 | 
			
		||||
    info(`${module} ${EntryType.CONFIG} 文件声明不合法`);
 | 
			
		||||
    info(`${module} ${EntryType.CONFIG} 文件声明缺失`);
 | 
			
		||||
  }
 | 
			
		||||
  if (!value) {
 | 
			
		||||
    info(`${module} ${EntryType.VALUE} 文件声明不合法`);
 | 
			
		||||
    info(`${module} ${EntryType.VALUE} 文件声明缺失`);
 | 
			
		||||
  }
 | 
			
		||||
  if (!event) {
 | 
			
		||||
    info(`${module} ${EntryType.EVENT} 文件声明缺失`);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user