You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					20 lines
				
				405 B
			
		
		
			
		
	
	
					20 lines
				
				405 B
			| 
											3 years ago
										 | let propertiesWithoutUnits | ||
|  | if (process.env.NODE_ENV !== 'production') { | ||
|  |   propertiesWithoutUnits = [ | ||
|  |     'aspectRatio', | ||
|  |     'elevation', | ||
|  |     'flexGrow', | ||
|  |     'flexShrink', | ||
|  |     'opacity', | ||
|  |     'shadowOpacity', | ||
|  |     'zIndex', | ||
|  |   ] | ||
|  | } | ||
|  | 
 | ||
|  | const devPropertiesWithUnitsRegExp = | ||
|  |   propertiesWithoutUnits != null | ||
|  |     ? new RegExp(propertiesWithoutUnits.join('|')) | ||
|  |     : null | ||
|  | 
 | ||
|  | export default devPropertiesWithUnitsRegExp |